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