We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0af9347 commit a5d8a9eCopy full SHA for a5d8a9e
regex-automata/src/nfa/thompson/pikevm.rs
@@ -1273,7 +1273,7 @@ impl PikeVM {
1273
1274
if let Some(active) = match_lookaround {
1275
*curr_lookaround = active.clone();
1276
- } else {
+ } else if self.lookaround_count() > 0 {
1277
// This initializes the look-behind threads from the start of the input
1278
// Note: since capture groups are not allowed inside look-behinds,
1279
// there won't be any Capture epsilon transitions and hence it is ok to
0 commit comments