
Last chance! 50% off unlimited learning
Sale ends in
Simplify pattern strings.
get_simplify(pattern, ...)
a pre-compiled regular expression or a string
further arguments passed to re2
# NOT RUN {
get_simplify("a{1}")
get_simplify("a{3}b+(:?abc(a))")
get_simplify("a{2,3}a{2}")
get_simplify(re2("1+2",literal = TRUE))
get_pattern(re2("1+2",literal = TRUE))
# }
Run the code above in your browser using DataLab