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 ) )


Search within the searchable package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.