glob
glob copied to clipboard
`{a,}{a,}a` doesn't match `a`
The following program prints false
:
package main
import (
"fmt"
"github.com/gobwas/glob"
)
func main() {
g, err := glob.Compile("{a,}{a,}a")
if err != nil {
panic(err)
}
fmt.Println(g.Match("a"))
}