Learn R Programming

stringi (version 0.1-25)

stri_detect: Detect a Pattern Match

Description

Detect a Pattern Match

Usage

stri_detect(str, ..., regex, fixed, charclass)

Arguments

str
character vector of strings to search in
...
additional arguments passed to the underlying functions
regex
character vector; regular expressions
fixed
character vector; fixed patterns
charclass
character vector; identifiers of character classes

Value

  • Returns a logical vector.

Details

A convenience function. Calls either stri_detect_regex, stri_detect_fixed, or stri_detect_charclass, depending on the argument used.

See Also

Other search_detect: stri_detect_charclass; stri_detect_fixed; stri_detect_regex; stringi-search