diff --git a/glob.go b/glob.go index 2afde34..78677af 100644 --- a/glob.go +++ b/glob.go @@ -61,7 +61,7 @@ func MustCompile(pattern string, separators ...rune) Glob { } // QuoteMeta returns a string that quotes all glob pattern meta characters -// inside the argument text; For example, QuoteMeta(`{foo*}`) returns `\[foo\*\]`. +// inside the argument text; For example, QuoteMeta(`{foo*}`) returns `\{foo\*\}`. func QuoteMeta(s string) string { b := make([]byte, 2*len(s))