Skip to content

[6.4] Fix forward progress check for lookahead, attempt 2#869

Merged
natecook1000 merged 2 commits into
release/6.4.xfrom
6.4-lookaround-progress-fix
Jul 22, 2026
Merged

[6.4] Fix forward progress check for lookahead, attempt 2#869
natecook1000 merged 2 commits into
release/6.4.xfrom
6.4-lookaround-progress-fix

Conversation

@natecook1000

Copy link
Copy Markdown
Member

Cherry-pick of #866 and #867 to the 6.4 branch (actually the 6.4 branch this time, unlike #868).

ekassos and others added 2 commits July 22, 2026 11:34
When a quantified concatenation begins with a lookaround group, the forward
progress checker fails to skip over the assertion's child subtree, leaving the
analysis cursor misaligned and leading to false positives.

This change skips the lookaround's child subtree, matching the treatment added
for nullable quantifications in #851.
@natecook1000
natecook1000 merged commit bf9cd9a into release/6.4.x Jul 22, 2026
22 of 23 checks passed
@natecook1000
natecook1000 deleted the 6.4-lookaround-progress-fix branch July 22, 2026 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants