powered by
fixed = TRUE
literal(x)
(rx <- digit(1, 3)) (rx_literal <- literal(rx)) # Usage stringi::stri_detect_regex("123", rx) stringi::stri_detect_regex("123", rx_literal) stringi::stri_detect_regex("[[:digit:]]{1,3}", rx_literal)
Run the code above in your browser using DataLab