Skip to main content

builtin_gregexpr

Function builtin_gregexpr 

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

Find all matches of a pattern in each element of a character vector.

@param pattern character scalar: regular expression or fixed string @param text 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 list of integer vectors with match positions and “match.length” attributes