-
Notifications
You must be signed in to change notification settings - Fork 18
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
Regexp not recognized #47
Comments
Hi @marsangr |
Your regex pattern is too complex for me, but it emits syntax error when the pattern is
Please note that In Justify version 2.0 and older versions, any regex patterns are handled as Unicode pattern that is a dialect defined in the ECMAScript Language Specification. |
This regexp pattern is provided by the issue #47
Admittedly, it's not a trivial regexp. It is, however, the product of an SDO trying to model an ISO8601 Timestamp, so a real use case worth supporting. I'll move to the current snapshot in the meantime. Thank you very much! |
@marsangr |
Works like a charm, thanks. |
Release 2.0 has an issue with the following pattern (you can see the whole schema under https://openid.net/schemas/verified_claims-09.json)
When trying to validate a doc, this is the error:
Other tools (regex101.com, regexpal.com) recognize the regular expression as ECMA-262 correct.
The text was updated successfully, but these errors were encountered: