cpp_mpfmatch {IFC}R Documentation

Multiple Pattern Fixed Matching

Description

String matching with multiple pattern.

Arguments

x, pattern

Nullable Rcpp CharacterVector.

Details

equivalent of as.logical(sum(unlist(lapply(pattern, grepl, x = x, fixed = TRUE)))).

Value

a bool


[Package IFC version 0.2.1 Index]