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  | 
A data.frame
Michael Hallquist
## Not run: 
  friendlyGregexpr("(BY|WITH|ON)", 
    c("POS_WI BY", "X WITH Y WITH Z")
  )
## End(Not run) 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.