View source: R/text_locate_group.R
generic for getting positions regex groups
text_locate_group default
1 2 3 4 | text_locate_group(string, pattern, group, ...)
## Default S3 method:
text_locate_group(string, pattern, group, ...)
|
string |
text to be searched through |
pattern |
regex to look for |
group |
integer vector specifying groups to return |
... |
further options passed through to grep |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.