Learn R Programming

stringb (version 0.1.17)

text_locate_group: generic for getting positions regex groups

Description

generic for getting positions regex groups

text_locate_group default

Usage

text_locate_group(string, pattern, group, ...)

# S3 method for default 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