-
Notifications
You must be signed in to change notification settings - Fork 43
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 capture groups #5
Comments
👍 |
👍 |
1 similar comment
👍 |
I've just came across this problem. And I agree, having to reprocess the whole matched lexeme with OCaml-re to fetch the individual groups is a bit ridiculous... |
Same here. This is a major blocker to move to |
Essentially, if you want it, implement it. At this point sedlex is not really maintained. |
That's a sad thing to hear. Is there any successor library? |
Not really. |
This is very sad to hear indeed! (And let me second, for whomever may show up, the need for named capture groups.) |
A major thing that ulex is missing is named capture groups, i.e.
(Plus '0'..'9') as digits
syntax. Sedlex misses it, too; asking the user to manually calculate the indexes is absurd.The text was updated successfully, but these errors were encountered: