Delimited Pattern Matching
Match delimited substrings in a character vector, with proper nesting.
a character vector.
a character vector of length 2 giving the start and end delimiters. Future versions might allow for arbitrary regular expressions.
currently, always the string
An integer vector of the same length as
x giving the starting
position (in characters) of the first match, or -1 if there is
none, with attribute
"match.length" giving the length (in
characters) of the matched text (or -1 for no match).
regexpr for ‘simple’ pattern matching.
1 2 3
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.