str_detect

Test whether a regex matches

Returns true when a regular expression matches a string.

Parameters

Returns

True when the pattern matches.

Examples

str_detect("abc", "^[a-z]+$")
-- Returns = true