Not correct matching with alternatives and separator
valichek opened this issue · 2 comments
valichek commented
glob.MustCompile("{*.google.*,*.yandex.*}", '.').Match("www.google.com") // true, as expected
glob.MustCompile("{*.google.*,yandex.*}", '.').Match("www.google.com") // false, wrong!
gobwas commented
Hi! Thanks for the report and sorry for delay.
I've found the bug inside the matching logic. It is not so trivial, so fixit it will take some time. Hope will finish it this week. Sorry.