str_extract_all {stringstatic} | R Documentation |
Extract matching patterns from a string
Description
Dependency-free drop-in alternative for stringr::str_extract_all()
.
Usage
str_extract_all(string, pattern, simplify = FALSE)
Arguments
string |
Input vector. Either a character vector, or something coercible to one. |
pattern |
Pattern to look for. The default interpretation is a regular expression,
as described in base::regex.
Control options with Match a fixed string (i.e. by comparing only bytes), using |
simplify |
If |
Value
A list of character vectors if simplify = FALSE
,
or a character matrix if simplify = TRUE
.
Source
Adapted from the stringr package.
[Package stringstatic version 0.1.2 Index]