text_locate_group: generic for getting positions regex groups

Description Usage Arguments

View source: R/text_locate_group.R

Description

generic for getting positions regex groups

text_locate_group default

Usage

1
2
3
4
text_locate_group(string, pattern, group, ...)

## Default S3 method:
text_locate_group(string, pattern, group, ...)

Arguments

string

text to be searched through

pattern

regex to look for

group

integer vector specifying groups to return

...

further options passed through to grep


stringb documentation built on Jan. 26, 2021, 1:07 a.m.