| regexp.fixed | R Documentation |
strings will be treated as fixed constant in regex
regexp.fixed(str, fixed = TRUE)
str |
a string vector |
fixed |
if FALSE just return str |
transformed string vector of same size as str
## Not run:
str = c("A.","*")
# regexp.fixed transforms strings
regexp.fixed(str)
# fixed in stringr flags strings instead
fixed(str)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.