Skip to content
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

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

Open
djgoku opened this issue Nov 14, 2023 · 3 comments

Comments

@djgoku
Copy link
Contributor

djgoku commented Nov 14, 2023

Instead of duplicating everything here is my problem.

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

awslabs/amazon-ecs-intellisense-schema#8

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

@sirosen
Copy link
Member

sirosen commented Nov 14, 2023

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
Copy link
Contributor Author

djgoku commented Nov 15, 2023

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

@sirosen sirosen changed the title Python Unicode regex support Support ECMAScript unicode-mode RegExp usage for 'pattern' and 'patternProperties' Dec 6, 2023
@sirosen
Copy link
Member

sirosen commented Dec 6, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants