Skip to content

Conversation

mdjastrzebski
Copy link
Member

@mdjastrzebski mdjastrzebski commented Apr 29, 2024

Summary

any (regex: .) could be added to char class

any // => /./ - ok matches any char
charClass(any) // => /[.]/ - not ok, `.` in char class looses special meaning and matchers literal dot

Test plan

Adapt automated tests

@mdjastrzebski mdjastrzebski merged commit de06af1 into main Apr 29, 2024
@mdjastrzebski mdjastrzebski deleted the fix/any-handling branch April 29, 2024 21:32
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.

1 participant