powered by
Creates data frame documenting the start and end of all tags.
friendlyGregexpr(pattern, charvector, perl = TRUE, include_tag = TRUE)
A data.frame
data.frame
The pattern to search for
Character vector
A logical whether or not to use perl based regular expressions. Defaults to TRUE.
TRUE
if TRUE, return the match as a character string. This is the default, but setting to FALSE is a bit faster
FALSE
Michael Hallquist
if (FALSE) { friendlyGregexpr("(BY|WITH|ON)", c("POS_WI BY", "X WITH Y WITH Z") ) }
Run the code above in your browser using DataLab