You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I really love the new helpers str_split_1() and str_split_i() from v1.5.0.
Would it be possible to have the same for str_match()?
Currently, there is no one-call way to extract a regex group from a character vector, as str_match() returns a matrix.
You can use matrix indexing but that is less readable (IMHO) and doesn't always play nice with pipes.
I can do a PR if this is accepted.
The text was updated successfully, but these errors were encountered:
Hi,
I really love the new helpers
str_split_1()
andstr_split_i()
from v1.5.0.Would it be possible to have the same for
str_match()
?Currently, there is no one-call way to extract a regex group from a character vector, as
str_match()
returns a matrix.You can use matrix indexing but that is less readable (IMHO) and doesn't always play nice with pipes.
I can do a PR if this is accepted.
The text was updated successfully, but these errors were encountered: