Description Usage Arguments Value See Also
Match function using perl compatible regular expressions
1 |
data |
character vector to match against |
pattern |
regular expression to use for matching |
options |
regular expression options to use |
if no captures, returns a logical vector the same length as the input character vector specifying if the relevant value matched or not. If there are captures in the regular expression, returns a list of named character vectors with the captured text. If the g option is used with capturing, the output is a list of lists.
regex
Section 'Perl-like Regular Expressions' for a
discussion of the supported options
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.