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
Some flags for regexps cannot be reasonably supported within Parsimmon, so let's make it an error to use them!
Only i, u, and m make sense to support https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp.
i
u
m
Thanks to everyone in #81 for the discussion that brought up this issue!
I think it might make sense to just put this check in the assertRegexp function.
assertRegexp
The text was updated successfully, but these errors were encountered:
Also, the documentation should explicitly state that all regexps are wrapped in ^(?: ◊ ), and we should clarify which regexp flags are supported.
^(?: ◊ )
Sorry, something went wrong.
f9a3586
Merge pull request #85 from jneen/issue/83
623c4b6
Fixes #83
No branches or pull requests
Some flags for regexps cannot be reasonably supported within Parsimmon, so let's make it an error to use them!
Only
i
,u
, andm
make sense to support https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp.Thanks to everyone in #81 for the discussion that brought up this issue!
I think it might make sense to just put this check in the
assertRegexp
function.The text was updated successfully, but these errors were encountered: