mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-11 15:34:56 +00:00
reset pre before checking outside range
This commit is contained in:
parent
87d0c2de3c
commit
3fc28e8053
1 changed files with 1 additions and 0 deletions
|
@ -242,6 +242,7 @@ func calcFlagsI(re *Regexp) (must, cant printFlags) {
|
|||
}
|
||||
|
||||
// Check characters outside the defined range
|
||||
pre = 0
|
||||
for i := 0; i < len(re.Rune); i += 2 {
|
||||
lo := max(minFold, re.Rune[i])
|
||||
hi := min(maxFold, re.Rune[i+1])
|
||||
|
|
Loading…
Reference in a new issue