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