gobwas/glob

`{a,}{a,}a` doesn't match `a`

KamilaBorowska opened this issue · 0 comments

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"))
}