stri_std: Use standard matching

Description Usage Arguments Value See Also Examples

Description

Functions for matching using standard, defaut matching

Usage

1
2
3

Arguments

str

search target

pattern

pattern to attempt

...

supplementary arguments passed to the underlying functions, including additional settings for stri_opts_std

opts_std

list; optional arguments used by stri_*_std functions

case_insensitive

logical; enable simple case insensitive matching

stri_detect_std is equivalent to str %in% pattern and is created to provide a parallel to other search methods.

stri_opts_std

Value

logical indicating the matching elements in str

See Also

stri_detect

Examples

1
2
3
stri_detect_std( letters[1:5], letters[1:2] )  # TRUE TRUE ...
  stri_detect_std( letters[1:5], LETTERS[1:2] )  # ALL FALSE
  stri_detect_std( letters[1:5], LETTERS[1:2], opts_std = list(case_insensitive = TRUE ) )

decisionpatterns/searchable documentation built on Jan. 8, 2019, 3:28 a.m.