LibRegex: Fix incorrect case-sensitive comparisons

A tiny typo was introduced in bc8d16ad which caused all case insensitive
comparisons to fail.
This commit is contained in:
sin-ack 2021-06-16 10:12:13 +00:00 committed by Ali Mohammad Pur
parent 9127d83927
commit 6b2e264093

View file

@ -514,7 +514,7 @@ ALWAYS_INLINE void OpCode_Compare::compare_char(const MatchInput& input, MatchSt
if (input.regex_options & AllFlags::Insensitive) {
ch1 = to_ascii_lowercase(ch1);
ch2 = to_ascii_uppercase(ch2);
ch2 = to_ascii_lowercase(ch2);
}
if (ch1 == ch2) {