mgrepl: Perform grepl on multiple patterns; it's like AND-ing or...

View source: R/string.R

mgreplR Documentation

Perform grepl on multiple patterns; it's like AND-ing or OR-ing successive grepl statements.

Description

Perform grepl on multiple patterns; it's like AND-ing or OR-ing successive grepl statements.

Usage

mgrepl(pattern, x, op = `|`, ...)

Arguments

pattern

character vector of patterns

x

the character vector to search

op

logical vector operator back quoted, defaults to '|'

...

further arguments for grepl like fixed etc.

Value

logical vector


BigelowLab/rscripting documentation built on Oct. 24, 2022, 5:31 p.m.