Description Usage Arguments Details Value See Also Examples
A convenience function. Calls either
stri_extract_all_regex
,
stri_extract_all_fixed
, or
stri_extract_all_charclass
, depending on the
argument used.
1 | stri_extract_all(str, ..., regex, fixed, charclass)
|
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 |
Unless you are very lazy, please call the underlying functions directly for better performance.
Returns a list of character vectors.
Other search_extract:
stri_extract_all_charclass
,
stri_extract_all_charclass
,
stri_extract_first_charclass
,
stri_extract_first_charclass
,
stri_extract_last_charclass
,
stri_extract_last_charclass
;
stri_extract_all_fixed
,
stri_extract_all_fixed,
,
stri_extract_first_fixed
,
stri_extract_first_fixed,
,
stri_extract_last_fixed
,
stri_extract_last_fixed
;
stri_extract_all_regex
,
stri_extract_all_regex
,
stri_extract_first_regex
,
stri_extract_first_regex
,
stri_extract_last_regex
,
stri_extract_last_regex
;
stri_extract_first
;
stri_extract_last
;
stri_extract
; stringi-search
1 2 3 4 5 6 | ## Not run:
stri_extract_all('XaaaaX', regex=c('\\p{Ll}', '\\p{Ll}+', '\\p{Ll}{2,3}', '\\p{Ll}{2,3}?'))
stri_extract_all('Bartolini', fixed='i')
stri_extract_all('stringi are so good!', charclass='Zs') # all whitespaces
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.