Skip to content

Conversation

@torkel-hoge
Copy link

@torkel-hoge torkel-hoge commented Dec 23, 2025

This PR adds new syntax which allows to negate the pattern or its part. It extends current AnyOf's syntax with ! char. For example, {!foo,bar} pattern will match baz string and will not match foo and bar. See more complicated examples in glob_test.go.

This seems to resolve the #47.

Feel free to request changes in the code and more test cases.

@torkel-hoge
Copy link
Author

@gobwas hey, is there any chance that this change will be accepted or at least reviewed?
I see that the project is not actively maintained, but still it's actively used by our project Runtime Radar and we'd be glad if the new syntax is added.

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