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
Duplicate regular expression flag #202
Comments
The problem may arise from the lexer when it scans the regular expression flags. I see this:
There is no |
Thanks very much for the finding. |
Released v4.2.1. |
The parser throws an error when using the
s
andm
flags together in a regular expression. A very simple example that causes the crash is this:This is using version
4.2.0
ofmeriyah
. It works fine with either thes
orm
flag by themselves or in combination with other flags. They just can't both be used at the same time. Using both at the same time is syntactically and semantically legal and, occasionally useful.Edited to add error message:
The text was updated successfully, but these errors were encountered: