rx_none_or_more | R Documentation |
This function simply adds a * to the end of the expression.
rx_none_or_more(.data = NULL, mode = "greedy")
.data |
Expression to append, typically pulled from the pipe |
mode |
Matching mode ( |
rx_none_or_more()
# create an expression
x <- rx() %>%
rx_find("a") %>%
rx_none_or_more()
# create input
input <- "aaa"
# extract match
regmatches(input, regexpr(x, input))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.