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

Unescape regexp string to be compatible with 'u' flag #576

Merged
merged 1 commit into from
Nov 5, 2021

Conversation

evidolob
Copy link
Collaborator

@evidolob evidolob commented Nov 4, 2021

What does this PR do?

Fix RegExp object creating with 'u' flag in case of old patterns, which not written with unicode support.

What issues does this PR fix or reference?

redhat-developer/vscode-yaml#633

Is it tested? How?

With test

@evidolob evidolob self-assigned this Nov 4, 2021
@evidolob evidolob changed the title Un escape regexp string to be compatible with 'u' flag Unescape regexp string to be compatible with 'u' flag Nov 4, 2021
@coveralls
Copy link

coveralls commented Nov 4, 2021

Coverage Status

Coverage increased (+0.03%) to 75.052% when pulling d310370 on evidolob:fix-regexps into 9ef3b8f on redhat-developer:main.

@evidolob evidolob merged commit 86b7084 into redhat-developer:main Nov 5, 2021
@evidolob evidolob deleted the fix-regexps branch November 5, 2021 09:03
@evidolob evidolob mentioned this pull request Nov 5, 2021
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

Successfully merging this pull request may close these issues.

3 participants