fix(regex): advance native Joni syntax and fold parity - #1084
Merged
Conversation
Give forked Joni a distinct /xx option, preserve exact inline x nesting levels, and apply horizontal-space elision inside character classes without changing ordinary /x behavior. Generated with [Codex](https://openai.com/codex) Co-Authored-By: Codex <codex@openai.com>
Generate bounded reverse full-fold partitions across adjacent Perl literal boundaries so equivalent multi-character fold sequences can backtrack without changing single-literal lookbehind width behavior. Generated with [Codex](https://openai.com/codex) Co-Authored-By: Codex <codex@openai.com>
Resolve Perl's exact L_ compatibility spelling as LC before loose Unicode property normalization, so it matches only cased letters rather than all letters. Generated with [Codex](https://openai.com/codex) Co-Authored-By: Codex <codex@openai.com>
Record the current native extended-more, adjacent full-fold, and L_ semantic position and order the dynamic-pattern and remaining fold work accordingly. Generated with [Codex](https://openai.com/codex) Co-Authored-By: Codex <codex@openai.com>
Distinguish bare property escapes at end of pattern from invalid non-braced followers and emit Perl's native character-property diagnostic from Joni. 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
/xxcharacter-class whitespace and nested inlinex/xxmodes natively in the Joni forkL_compatibility alias as cased letters (LC)\p/\PfollowersValidation
/xx, adjacent folds,L_, and property-follower diagnosticsregexp.tdifferentials remove rows 1726, 1683, 2002–2004, and the/xxrows 2026–2030 with no introductionsmakepasses all 17 tasks on exact rebased heada3b84e02aDesign
See
dev/design/phase36-regex-parity.md.