fix(regex): complete native quantifier and control boundaries - #1083
Merged
Conversation
Reject ungrouped redundant quantifiers with Perl diagnostics while retaining grouped repeat boundaries and extended-mode quantifier modifiers in the forked Joni lexer and AST. Generated with [Codex](https://openai.com/codex) Co-Authored-By: Codex <codex@openai.com>
Carry ACCEPT and explicit FAIL names through the forked Joni parser and bytecode matcher, then publish their Perl control state through REGMARK and REGERROR without conflating explicit FAIL with internal assertion failure. Generated with [Codex](https://openai.com/codex) Co-Authored-By: Codex <codex@openai.com>
Record the integrated native nested-quantifier and named control-verb state and make the next ordered gate describe only forward work. Generated with [Codex](https://openai.com/codex) Co-Authored-By: Codex <codex@openai.com>
Keep an earlier named cut-verb error authoritative when a path terminates with an unnamed FAIL, while retaining named and standalone FAIL publication. Generated with [Codex](https://openai.com/codex) Co-Authored-By: Codex <codex@openai.com>
Permit Perl capture groups in negative lookbehind and apply ACCEPT-aware width analysis to both lookbehind polarities so native variable-width execution keeps the correct assertion boundary. Generated with [Codex](https://openai.com/codex) Co-Authored-By: Codex <codex@openai.com>
Keep the Phase 36 execution position and immediate combined acceptance gate aligned with the integrated native lookbehind work. Generated with [Codex](https://openai.com/codex) Co-Authored-By: Codex <codex@openai.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation
perl5_t/t/re/regexp.texact differential removes failures with zero introductionsmakeon exact head5ae62c501:/tmp/make-phase36-native-quant-control-lookbehind-5ae62c501.logDesign
See
dev/design/phase36-regex-parity.md.