mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 09:07:44 +00:00
LibRegex: Don't copy forked results twice
This commit is contained in:
parent
464ac85a1b
commit
cfcd6e770c
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
Add a link
Reference in a new issue