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
You can't just expose GroupInfo. That would make regex-automata a public dependency of regex, which it is very intentionally and very carefully not. So to do that, we'd need to make a wrapper type for it.
In general, I do not expand the API of regex without good reason, and I don't see any motivating examples here to argue in favor of that direction.
Hi there!
I'm writing a wrapper for regex crate's
Regex::Captures
struct, and for this I need to get thegroup_info
member ofregex_automata::util::captures::Captures
.But I found that the
Regex::Captures
type currently does not have a way to export its caps attribute or thegroup_info()
method of the caps attribute.Would regex willing to accept a patch that expose
group_info()
? Or Maybe I should head to useregex_automata
?Thanks!
The text was updated successfully, but these errors were encountered: