livebud / bud

The Full-Stack Web Framework for Go
MIT License
5.53k stars 181 forks source link

internal/glob: fix wildcards in multi-select #336

Closed matthewmueller closed 1 year ago

matthewmueller commented 1 year ago

This fixes an issue where a pattern like {a,b/*/**.go}, would match on b/main.go. Now it won't match on b/main.go, but will match on b/b/main.go and b/b/b/main.go, etc.

More context in this issue: https://github.com/gobwas/glob/issues/50