mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-05-24 08:18:52 -03:00
regex: in oniguruma profile, switch to ASCII matching
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
This commit is contained in:
parent
fb267d3aff
commit
9a7b370b17
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user