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

feat(functions): add support unicode to regexp pattern #2558

Conversation

Ti-webdev
Copy link

Checklist

  • Tests added / updated
  • [-] Docs added / updated

Does this PR introduce a breaking change?

  • Yes
  • No

Additional context

Fix unicode issue:
https://stackoverflow.com/questions/68840457/can-i-use-the-unicode-flag-within-a-json-schema-pattern-regular-expression

@Ti-webdev Ti-webdev requested a review from a team as a code owner December 4, 2023 05:06
@Ti-webdev
Copy link
Author

up

Copy link
Contributor

@P0lip P0lip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can already specify a flag as follows

expect(await runPattern('aBc', { match: '/[abc]+/im' })).toEqual([]);

I'd rather not modify the default as that would be a soft breaking change.

@P0lip P0lip force-pushed the develop branch 3 times, most recently from dc90b7a to c22f408 Compare April 4, 2024 13:29
@mnaumanali94
Copy link
Contributor

Closed as not doing.

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.

None yet

3 participants