Skip to content

Conversation

@mrjoel
Copy link
Contributor

@mrjoel mrjoel commented Jul 18, 2025

#7645 added support for ** matching path separators, but didn't update isValidGlobPattern for --suppress to enable it.

This also updates test cases and makes isValidGlobPattern more correct and robust overall. In particular multiple consecutive ? for a glob is absolutely valid and frequently useful to ensure exactly or at least some number of characters.

@mrjoel mrjoel changed the title Make isValidGlobPattern recognize '**' Make isValidGlobPattern recognize ** Jul 18, 2025
@danmar
Copy link
Owner

danmar commented Jul 19, 2025

@mrjoel Thank you! what name would you like that I add in the AUTHORS file?

@mrjoel
Copy link
Contributor Author

mrjoel commented Jul 19, 2025

Pushed updated commit with AUTHORS entry

@sonarqubecloud
Copy link

@danmar danmar merged commit b873502 into danmar:main Jul 19, 2025
65 checks passed
@mrjoel mrjoel deleted the mrjoel/glob-patterns branch July 20, 2025 01:49
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.

2 participants