mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-02 14:48:15 +00:00
LibRegex: Use the correct values for comparing LUT entries
Previously we were ignoring the insensitive flag for LUT lookups.
This commit is contained in:
committed by
Andreas Kling
parent
7d01ee63d6
commit
5f012778b8
@@ -538,9 +538,9 @@ ALWAYS_INLINE ExecutionResult OpCode_Compare::execute(MatchInput const& input, M
|
||||
to = to_ascii_lowercase(to);
|
||||
needle = to_ascii_lowercase(needle);
|
||||
}
|
||||
if (needle > range.to)
|
||||
if (needle > to)
|
||||
return 1;
|
||||
if (needle < range.from)
|
||||
if (needle < from)
|
||||
return -1;
|
||||
return 0;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user