Description Usage Arguments Value
Count all pattern matches in character vector.
1 |
x |
Character vector |
pat |
Pattern (regex) to extract from text. |
ignore.case |
Logical indicating whether to ignore capitalization. Defaults to false. |
invert |
Logical indicating whether to extract matching portion (default) or, if this value is true, non-matching portions of text. |
... |
Other named arguments passed to |
Vector of matches extracted from input text.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.