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
Property with regexp pattern dosn not work fine. For example, this schema
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "id": { "type": "string", "pattern": "[A-Za-z0-9\\-\\.]{1,64}" } } }
validate this invalid json
{ "id" : "re@" }
but dont validate this
{ "id" : "@" }
The text was updated successfully, but these errors were encountered:
Not a bug. Your REGEX is not what you think:
https://regex101.com/r/KcJKh9/1
You're after a ^[A-Za-z0-9.-]{1,64}$: https://regex101.com/r/APgsZP/2
^[A-Za-z0-9.-]{1,64}$
Regards, Blag
Sorry, something went wrong.
No branches or pull requests
Property with regexp pattern dosn not work fine. For example, this schema
validate this invalid json
but dont validate this
The text was updated successfully, but these errors were encountered: