Test whether a regex matches
Returns true when a regular expression matches a string.
s (String | List | Vector): The
input string(s).
pattern (String): The regular
expression to test.
True when the pattern matches.
str_detect("abc", "^[a-z]+$")
-- Returns = true