mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-05-24 12:08:57 +00:00
LibRegex: Flush compare tables before entering a permanent inverse state
This commit is contained in:
committed by
Andreas Kling
parent
fbeef409c6
commit
9c5febe800
@@ -459,7 +459,7 @@ ALWAYS_INLINE ExecutionResult OpCode_Compare::execute(MatchInput const& input, M
|
||||
auto compare_type = (CharacterCompareType)m_bytecode->at(offset++);
|
||||
|
||||
if (compare_type == CharacterCompareType::Inverse) {
|
||||
inverse = true;
|
||||
inverse = !inverse;
|
||||
continue;
|
||||
|
||||
} else if (compare_type == CharacterCompareType::TemporaryInverse) {
|
||||
|
||||
Reference in New Issue
Block a user