# NOT RUN {
rx_something()
# construct an expression
x <- rx_something()
grepl(x, "something!") # this should be true
grepl(x, "") # this should be false
grepl(rx_anything(), "") # this should be true
# }
Run the code above in your browser using DataLab