Return a vector of matches.
grepv(
pattern,
x,
...,
ignore.case = FALSE,
perl = FALSE,
fixed = FALSE,
useBytes = FALSE,
invert = FALSE
)
character scalar, pattern to match, passed to grep
.
character vector to match to, passed to grep
.
not used, forced later arguments to bind by name.
logical, passed to grep
.
logical, passed to grep
.
logical, passed to grep
.
logical, passed grep
.
passed to grep
.
vector of matching values.
grepv("x$", c("sox", "xor"))
#> [1] "sox"