diff --git a/glob_test.go b/glob_test.go index b012fc8..c93d263 100644 --- a/glob_test.go +++ b/glob_test.go @@ -152,6 +152,8 @@ func TestGlob(t *testing.T) { glob(true, "*//{,*.}example.com", "http://example.com"), glob(false, "*//{,*.}example.com", "http://example.com.net"), + glob(true, "{a*,b}c", "abc", '.'), + glob(true, pattern_all, fixture_all_match), glob(false, pattern_all, fixture_all_mismatch), diff --git a/match/optimize.go b/match/optimize.go index beb0271..a07298f 100644 --- a/match/optimize.go +++ b/match/optimize.go @@ -3,7 +3,7 @@ package match import ( "fmt" - "gopkg.in/readline.v1/runes" + "github.com/gobwas/glob/util/runes" ) func Optimize(m Matcher) Matcher {