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 d5e7dc3 commit 3d13971Copy full SHA for 3d13971
regex-automata/src/nfa/thompson/compiler.rs
@@ -965,6 +965,7 @@ impl Compiler {
965
self.builder
966
.borrow_mut()
967
.set_size_limit(self.config.get_nfa_size_limit())?;
968
+ *self.lookaround_index.borrow_mut() = SmallIndex::ZERO;
969
970
// We always add an unanchored prefix unless we were specifically told
971
// not to (for tests only), or if we know that the regex is anchored
0 commit comments