Based on grep but allows multiple patterns
Usage
aa_multi.grep(pattern, x, value = F)
Arguments
- pattern
character vector of patterns to match
- x
character vector to search
- value
return values instead of positions
Value
index vector of element positions in x that match the elements in pattern