View source: R/utilityFunctions.R
friendlyGregexpr | R Documentation |
Creates data frame documenting the start and end of all tags.
friendlyGregexpr(pattern, charvector, perl = TRUE, include_tag = TRUE)
pattern |
The pattern to search for |
charvector |
Character vector |
perl |
A logical whether or not to use perl based
regular expressions. Defaults to |
include_tag |
if TRUE, return the match as a character string. This is the default, but setting to 'FALSE' is a bit faster |
A data.frame
Michael Hallquist
friendlyGregexpr("(BY|WITH|ON)",
c("POS_WI BY", "X WITH Y WITH Z")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.