stringi (version 0.2-3)

stri_match_first: Extract First Regex Pattern Matches, Together with Capture Groups

Description

A dummy function for compatibility with other search routines in stringi. Calls stri_match_first_regex.

Usage

stri_match_first(str, ..., regex)

Arguments

str
character vector of strings to search in
...
additional arguments passed to the underlying function
regex
character vector of regular expressions to search for

Value

  • character matrix

See Also

Other search_match: stri_match_all_regex, stri_match_first_regex, stri_match_first_regex, stri_match_last_regex, stri_match_last_regex; stri_match_all; stri_match_last; stri_match; stringi-search