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 87730fc commit a4b50d3Copy full SHA for a4b50d3
regex-automata/src/nfa/thompson/pikevm.rs
@@ -1515,7 +1515,7 @@ impl PikeVM {
1515
// are started before their outer look-behind's due to the requirements of
1516
// the self.lookbehinds vector.
1517
1518
- if self.lookaround_count() > 0 {
+ if !self.lookbehinds.is_empty() {
1519
let total_distance = forward_span.end - forward_span.start;
1520
1521
let start_offset = usize::min(
0 commit comments