LibRegex: Don't copy forked results twice
This commit is contained in:
parent
464ac85a1b
commit
cfcd6e770c
Notes:
sideshowbarker
2024-07-17 04:24:10 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/cfcd6e770c Pull-request: https://github.com/SerenityOS/serenity/pull/15994
1 changed files with 0 additions and 2 deletions
|
@ -452,8 +452,6 @@ bool Matcher<Parser>::execute(MatchInput const& input, MatchState& state, size_t
|
|||
(*it) = state;
|
||||
it->instruction_position = state.fork_at_position;
|
||||
it->initiating_fork = *input.fork_to_replace;
|
||||
it->capture_group_matches = state.capture_group_matches;
|
||||
it->matches = state.matches;
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue