Skip to content

Commit cb8d7ea

Browse files
committed
Reverse look_behind_starts
1 parent c3c02fc commit cb8d7ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

regex-automata/src/nfa/thompson/pikevm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1552,7 +1552,7 @@ impl PikeVM {
15521552
match_lookaround: _,
15531553
} = cache;
15541554

1555-
for look_behind_start in self.nfa.look_behind_starts() {
1555+
for look_behind_start in self.nfa.look_behind_starts().iter().rev() {
15561556
self.epsilon_closure(
15571557
stack,
15581558
&mut [],

0 commit comments

Comments
 (0)