rx_anything()
rx_anything(mode = "lazy")
x <- rx() %>%
rx_start_of_line() %>%
rx_anything() %>%
rx_end_of_line()
grepl(x, "anything!") # this should be true
grepl(rx_anything(), "") # this should be true
grepl(rx_something(), "") # this should be false
Run the code above in your browser using DataLab