-
Notifications
You must be signed in to change notification settings - Fork 60
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
Parse error #200
Comments
I don't have a particular opinion on how ocaml-re should handle this, but I got nerd-sniped so here's what I found: FWIW, in sufficiently new perl (v5.22 and newer), this regexp produces a warning:
The curly braces normally indicate a repetition count, but no valid integer is found between them. Perl just treats them as literal characters in this case, but this usage is apparently deprecated (from
|
Thanks that's very informative. I think it'd be nice is the library can be permissive with its entries to allow for seamless migration from other pcre stack, while perhaps displaying a warning for instance. I have another similar one that I'm about to submit. |
This pcre generates a parse error:
It seems perfectly valid for
ocaml-pcre
, node and perl's pcre.The text was updated successfully, but these errors were encountered: