fix(regex): preserve surrogate property scalar semantics - #1049
Draft
fglock wants to merge 9 commits into
Draft
Conversation
Classify the established IsDigit, IsLower, and IsUpper aliases for frontend translation and splice their generated ranges into an enclosing character class without nested brackets. This prevents Joni from misparsing adjacent Perl property aliases in ordinary classes. Generated with [Codex](https://openai.com/codex/) Co-Authored-By: Codex <codex@openai.com>
Translate standalone Perl code points above U+10FFFF into exact internal-marker alternatives before Joni compilation. This preserves Perl's ANYOFH membership behavior without changing range or negated-class semantics. Generated with [OpenAI Codex](https://openai.com/codex/) Co-Authored-By: OpenAI Codex <codex@openai.com>
Render surrogate and beyond-Unicode class members through complete internal scalar markers, including complements, captures, substitutions, and global matching. Prevent translated ordinary alternatives from beginning inside a marker payload during unanchored searches. Record the same-worktree mutable-JAR validation incident and its prevention rule in AGENTS.md. Generated with [Codex](https://openai.com/codex) Co-Authored-By: Codex <codex@openai.com>
Record PR 1049's focused and full-build gates, keep the generated map as an explicit pending acceptance condition, and track the separate native-property marker-boundary reducer. Document the overloaded-corpus cleanup and lower-load rerun rule. Generated with [Codex](https://openai.com/codex) Co-Authored-By: Codex <codex@openai.com>
Record the temporary Java routing workaround without weakening the full-Joni architecture or Phase 1 and Phase 5 exit criteria. Generated with Codex (https://openai.com/codex) Co-Authored-By: Codex <codex@openai.com>
Capture the exact pre-workaround PR 958 comparison and use its recoverable assertion counts to rank the next full-Joni remediation slices. Generated with Codex (https://openai.com/codex) Co-Authored-By: Codex <codex@openai.com>
Record PR 1042's temporary progressive implementation, its forced-Joni safety gate, and the evidence that still keeps cleanup open. Generated with Codex (https://openai.com/codex) Co-Authored-By: Codex <codex@openai.com>
Record the independently validated exact +5,064 target-map gain while keeping aggregate totals deferred until the old-base slice is rebased. Generated with Codex (https://openai.com/codex) Co-Authored-By: Codex <codex@openai.com>
Record exact JVM/interpreter identity at 154,132/167,506, 250 gains with no losses or missing assertions, and the resulting 393,998/407,372 generated property-plus-boundary total. 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
make: passed in 4m58sTwo earlier resource-collided corpus attempts remain explicitly discarded; the
reported map uses one stable JAR, one backend at a time, and two runner workers.
Integration priority
PR #1042 remains the immediate strict PR-958 parity gate. Full Joni remains the
objective; temporary ordinary-lookbehind Java routing is tracked cleanup debt
and does not complete Phase 1 or Phase 5.
Stack
This draft is stacked on PR #1048 (
wip/phase36-block-wildcards). The twopreceding PR #1042 compatibility commits are expected to drop when the stack is
rebased after #1042 merges. Draft PR #1050 is the independently validated
native-property marker-boundary follow-up stacked on this branch.
Generated with Codex