From 9a7b370b1792da936415c300b0a7843f01603917 Mon Sep 17 00:00:00 2001 From: Alexander Bezzubov Date: Wed, 8 May 2019 15:31:55 +0200 Subject: [PATCH] regex: in oniguruma profile, switch to ASCII matching Signed-off-by: Alexander Bezzubov --- regex/oniguruma.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {