find_pattern.RdFunction to find a pattern in a vector of strings via a call to base::grepl.
find_pattern(s, pattern)A character vector.
A logical vector.
find_pattern( 'a', c( 'cat', 'dog', 'bat' ) )
#> Warning: argument 'pattern' has length > 1 and only the first element will be used
#> [1] FALSE