Skip to content

Conversation

@khvn26
Copy link
Member

@khvn26 khvn26 commented Oct 7, 2025

Contributes to #13.

In this PR, we add test cases converted by Claude 4 from all of the server-side SDK regex operator unit tests, including those added to PHP test suite in Flagsmith/flagsmith-php-client#72.

@khvn26 khvn26 requested a review from a team as a code owner October 7, 2025 17:10
@khvn26 khvn26 requested review from Zaimwa9 and removed request for a team October 7, 2025 17:10
Copy link
Contributor

@emyller emyller left a comment

Choose a reason for hiding this comment

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

Just one small fix.

Do you think we should cover for \w matching unicode?

Co-authored-by: Evandro Myller <22429+emyller@users.noreply.github.com>
@khvn26
Copy link
Member Author

khvn26 commented Oct 7, 2025

Do you think we should cover for \w matching unicode?

Even though it slightly falls out of scope for #13 (none of the SDK unit test suites have it), I'm inclined to add it. Out of curiosity, is there a particular reason to have such a test?

@emyller
Copy link
Contributor

emyller commented Oct 7, 2025

Out of curiosity, is there a particular reason to have such a test?

I don't have many solid examples in mind, but I'm looking into allowing the pattern to run against non-English text as well. e.g. internationalised DNS.

@emyller
Copy link
Contributor

emyller commented Oct 7, 2025

Even though it slightly falls out of scope for #13 (...)

On a second thought, I think it's appropriate to have this better documented in a separate issue.

@khvn26 khvn26 merged commit f32e8ee into main Oct 7, 2025
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