concept str_match_all() in category R

appears as: str_match_all()
Exploring Data with R

This is an excerpt from Manning's book Exploring Data with R.

To test these matches in R, we can use either the str_match() or str_match_all() functions from the stringr package. The str_match() function returns us the first match of the pattern from the input string. Its variant str_match_all() returns all matches from the input text. Listing 8.16 provides an example of how this works in practice.