Skip to content

Whitespaces negation in group not working as expected #1065

Closed
@hurricup

Description

I'm currently migrating from the 1.7.0 to 1.9.0 and my test uncovered that in 1.7.0 [^\n\-\s%]+ did not matched spaces, but in 1.9.0 it does. And now I need to write it like [^\n\- \t%]+ And this feels wrong.

https://regex101.com/r/eOBDPX/1

Metadata

Assignees

Labels

bugNot working as intended

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions