mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-18 22:23:07 -03:00
regex: in oniguruma profile, switch to ASCII matching
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user