A small wrapper on 'regexpr' to extract the matches and captured groups from the match of a regular expression to a character vector. See re_match.
re_match
Useful links:
https://github.com/r-lib/rematch2#readme
Report bugs at https://github.com/r-lib/rematch2/issues