diff --git a/regex/oniguruma.go b/regex/oniguruma.go index 2083569..8caf644 100644 --- a/regex/oniguruma.go +++ b/regex/oniguruma.go @@ -9,7 +9,7 @@ import ( type EnryRegexp = *rubex.Regexp func MustCompile(str string) EnryRegexp { - return rubex.MustCompile(str) + return rubex.MustCompileASCII(str) } func QuoteMeta(s string) string {