-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Named subpatterns in regex #11362
Comments
Basically, this would involve wrapping the pcre2_substring_copy_byname function in PCRE? Couldn't we just implement a |
We aren't binding PCRE2 yet, we're still on 8.36. We might need to upgrade to get some newer functionality. Regexes should probably be updated to return Nullables if someone wants to dig into that code. |
Implemented by #11566 |
Unless I'm missing something, RegexMatch objects don't provide a way to access named captures by name, but only by position; eg
The text was updated successfully, but these errors were encountered: