gobwas / glob

Go glob
MIT License
957 stars 64 forks source link

wildcard in curly brackets #28

Closed Rikkuru closed 5 years ago

Rikkuru commented 6 years ago

seems like wildcard in curly brackets does not work. or only works if there is nothing after curly brackets? `package main import "github.com/gobwas/glob"

import "fmt" func main() { g := glob.MustCompile("{a*,b}c", '.') fmt.Println(g.Match("abc")) // false expect true }`

gobwas commented 6 years ago

Hi @Rikkuru, could you check it against feature/v0.3 branch? It seems that this bug is already fixed.

Rikkuru commented 5 years ago

yes it is fixed in feature/v0.3 When will it be in master?

gobwas commented 5 years ago

Hey there. Sorry for so huge delay – finally I have refactored feature/v0.3 and it looks stable and passing tests. Could you please again check your case against it and I will merge it tomorrow, I hope.

Rikkuru commented 5 years ago

Hi @gobwas ! I checked it again, works fine in feature/v0.3