rx_find | R Documentation |
Identify a specific pattern exactly.
rx_find(.data = NULL, value)
.data |
Expression to append, typically pulled from the pipe |
value |
Exact expression to match |
Capturing group: https://www.regular-expressions.info/brackets.html
Stack Overflow: https://stackoverflow.com/questions/3512471
rx_find(value = "apple")
# create expression
x <- rx_find(value = "apples")
grepl(x, "apple") # should be false
grepl(x, "apples") # should be true
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.