-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Fix logic for removal of forward slash in RegGen pattern #8219
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
Fix logic for removal of forward slash in RegGen pattern #8219
Conversation
…napi-generator into rgxgen-version-update
…rator into rgxgen-version-update
|
I wonder if a test can be added to cover this issue moving forward. |
|
I shall add tests for the same. |
|
Looks like this is causing issues to the python-legacy generator: Can you please take a look? |
|
For this error, all patterns in the YAML files should start with ^ and end with $. Is it correct to make this assumption? There are some properties |
I don't think that's a correct assumption |
|
pattern (This string SHOULD be a valid regular expression, according to the ECMA 262 regular expression dialect) Per there we can have valid regexes like: |
|
Updated logic: |
|
Thank you for updating your sample spec, that looks good. Now the tests are failing. Can you take a look here and update them? Closing and re-opening the PR to kick off CI again. Some of these failures were unrelated. |
|
The testcases are failing in PythonLegacyTest. Need some time to fix it. Next 24hours would be enough |
Fix logic for removal of forward slash in RegGen pattern
@spacether