regex: in oniguruma profile, switch to ASCII matching

Signed-off-by: Alexander Bezzubov <bzz@apache.org>
This commit is contained in:
Alexander Bezzubov 2019-05-08 15:31:55 +02:00
parent fb267d3aff
commit 9a7b370b17
No known key found for this signature in database
GPG Key ID: 8039F5787EFCD05D

View File

@ -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 {