Skip to main content

builtin_grepl

Function builtin_grepl 

Source
fn builtin_grepl(
    args: &[RValue],
    named: &[(String, RValue)],
) -> Result<RValue, RError>
Expand description

Test whether a pattern matches each element of a character vector.

@param pattern character scalar: regular expression or fixed string @param x character vector to search @param fixed logical: if TRUE, pattern is a literal string @param ignore.case logical: if TRUE, matching is case-insensitive @return logical vector indicating which elements match