mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +00:00
LibRegex: Flush compare tables before entering a permanent inverse state
This commit is contained in:
parent
fbeef409c6
commit
9c5febe800
2 changed files with 46 additions and 38 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue