Recursive wrapper for grep returning only full matches to elements of a character vector.
rgrep_exact(patterns, x, ..., simplify = FALSE)Character vector containing regular expressions to be matched.
Character vector where matches are sought, or an object which can be coerced by as.character to a character vector.
Additional arguments to grep.
If TRUE, the result is simplified from a list to a vector or matrix if appropriate.
List, matrix, or vector of the indices of the elements of x that yielded a match to each element of patterns.