-
Notifications
You must be signed in to change notification settings - Fork 3
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
Not_found exception #8
Comments
@paurkedal It seems you have a bug in your handling of offsets! The exception comes from a misaligned @konstantin-korovin For your side question: |
@Drup many thanks for your quick reply and fixing my message. I'll try tyre. |
The bug is due to top-level group elimination implemented when extracting bindings while missing while extracting the regular expression. I integrated your test and fixed it. Thanks! |
I considered your suggestion, but I decided against implementing So, I can also recommend looking into the I'll prepare a bugfix release tomorrow. |
This was fixed in v0.4.2. |
Thank you for a nice library.
I have an issue with unexpected Not_found exception.
= works as expected:
test:
====
If I swap first two match cases:
test:
===
PS As a side question: is it possible to define a regular expression (or a string representing reg. expression) as an OCaml variable and use it in {| |}, in order to avoid copying definitions.
Thanks,
Konstantin
The text was updated successfully, but these errors were encountered: