Description Usage Arguments Value
Given a vector of chracter strings, this function returns matches as a vector. This allows a chainable regex filtering style that is readily compatible with ' Capuring groups in '()' will be ignored. Best to use non-capturing '(?:)'.
1 |
text |
a vector of charcter strings to be matched. |
pattern |
a regular expression. |
vector of substrings of 'text' that matched the 'pattern'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.