We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If I define a named regexp using nested let statements I get an error when trying to use it.
For example:
let int_lit = let digit = [%sedlex.regexp? '0'..'9'] in [%sedlex.regexp? Plus digit]
Then later on:
match%sedlex buf with | int_lit -> ...
Sedlex: unbound regexp int_lit.
Sedlex: unbound regexp int_lit
The text was updated successfully, but these errors were encountered:
I've noticed this same problem. In general let ... in seems fragile for some reason.
Sorry, something went wrong.
No branches or pull requests
If I define a named regexp using nested let statements I get an error when trying to use it.
For example:
Then later on:
Sedlex: unbound regexp int_lit
.The text was updated successfully, but these errors were encountered: