Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for capturing groups #32

Closed
RunDevelopment opened this issue Jun 24, 2023 · 1 comment
Closed

Add support for capturing groups #32

RunDevelopment opened this issue Jun 24, 2023 · 1 comment

Comments

@RunDevelopment
Copy link

Me again :)

I would like to have access to the capturing groups of matches. Ideally, a way to use captures_iter and be exposed.

I would also like to have access to the static capturing group information on rust's regexes. Exposing capture_names should be good enough, but I also wouldn't mind a different API. I just need to know (1) how many capturing groups there are and (2) the mapping of named capturing groups to their indices.

@RunDevelopment
Copy link
Author

Thanks @2fd!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants