mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 09:37:34 +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:
parent
7d01ee63d6
commit
5f012778b8
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue