python-jsonschema / check-jsonschema

A CLI and set of pre-commit hooks for jsonschema validation with built-in support for GitHub Workflows, Renovate, Azure Pipelines, and more!
https://check-jsonschema.readthedocs.io/en/stable
Other
191 stars 38 forks source link

Support ECMAScript unicode-mode RegExp usage for 'pattern' and 'patternProperties' #353

Open djgoku opened 7 months ago

djgoku commented 7 months ago

Instead of duplicating everything here is my problem.

If you want me to copy anything for this issue I can.

https://github.com/awslabs/amazon-ecs-intellisense-schema/pull/8

I am looking to see how I can support Python Unicode regex so I can use this json schema.

sirosen commented 7 months ago

If I have understood the issue correctly, this is a matter of a schema using an ECMA regex syntax which python (the language) does not support.

However, luckily, we're using regress here to provide ECMA-compatible regex support for format. Which means that I need to know what type of match is failing, and then with through instrumenting the right support.

djgoku commented 7 months ago

Thanks for looking into this. I am opening to helping if I can. I'll try to check out the errors again tomorrow.

sirosen commented 7 months ago

To put all the information for this in one place (with some fun emojis):