powered by
matches(regexp, ...)
grepl
expect_that("Testing is fun", matches("fun")) expect_that("Testing is fun", matches("f.n"))
Run the code above in your browser using DataLab