str_detect_all: Detects regular expressions or fixed string values in...

View source: R/str_detect_all.R

str_detect_allR Documentation

Detects regular expressions or fixed string values in character vectors.

Description

Returns a logical vector with results of stri_detect() for each pattern in second parameters character vector.

Usage

str_detect_all(strings, patterns, type, ...)

Arguments

strings

input vector. This must be an atomic vector and will be coerced to a character vector.

patterns

patterns to look for, as defined by a POSIX regular expression. See the Extended Regular Expressions section of regex for details. See fixed, ignore.case and perl for how to use other types of matching: fixed, case insensitive and perl-compatible.

type

character vector of length equal to search with either ``fixed'' or ``regex''.

...

further arguments for stri_detect_regex


rmsharp/rmsutilityr documentation built on Feb. 13, 2024, 6:01 p.m.