powered by
Extract capture group names. Stop with an error if there are no capture groups, or if there are any capture groups without names.
names_or_error(vec.with.attrs, pattern)
Output from g?regexpr.
Character vector.