powered by
This expression uses a non capturing group to identify a specific pattern exactly.
find(.data = NULL, value)
Expression to append, typically pulled from the pipe %>%
%>%
Exact expression to match
Non capturing group: https://www.regular-expressions.info/brackets.html
Stack Overflow: https://stackoverflow.com/questions/3512471
# NOT RUN { find(value = "apple") # create expression x <- find(value = "apples") grepl(x, "apple") # should be false grepl(x, "apples") # should be true # }
Run the code above in your browser using DataLab