View source: R/special_characters.R
rx_lowercase | R Documentation |
Matches lower case letters only.
rx_lowercase(.data = NULL, inverse = FALSE)
.data |
Expression to append, typically pulled from the pipe |
inverse |
Invert match behavior, defaults to |
rx_lowercase()
rx_lowercase(inverse = TRUE)
# create an expression
x <- rx_lowercase()
y <- rx_lowercase(inverse = TRUE)
# create input
string <- "Apple 1!"
# extract match
regmatches(string, gregexpr(x, string))
regmatches(string, gregexpr(y, string))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.