# NOT RUN {
expect_match("Testing is fun", "fun")
expect_match("Testing is fun", "f.n")
expect_no_match("Testing is fun", "horrible")
# }
# NOT RUN {
expect_match("Testing is fun", "horrible")
# Zero-length inputs always fail
expect_match(character(), ".")
# }
Run the code above in your browser using DataLab