mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibRegex: Flush compare tables before entering a permanent inverse state
This commit is contained in:
parent
fbeef409c6
commit
9c5febe800
Notes:
sideshowbarker
2024-07-17 09:32:35 +09:00
Author: https://github.com/alimpfard
Commit: 9c5febe800
Pull-request: https://github.com/SerenityOS/serenity/pull/14534
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