refactor(regex): route conditionals through Joni - #1060
Draft
fglock wants to merge 2 commits into
Draft
Conversation
Detect real Perl conditional constructs with the existing syntax-aware admission scanner so the temporary Java policy delegates their semantics and diagnostics to Joni. Add policy, direct-engine, and standard-Perl regression coverage for valid, backtracking, and malformed forms. Generated with [OpenAI Codex](https://openai.com/codex) Co-Authored-By: OpenAI Codex <codex@openai.com>
Ordinary and malformed Perl conditionals are now routed to native Joni before the Java regex preprocessor runs. Remove the lossy conditional pre-pass and Java Pattern emulation that can no longer be reached. Generated with [OpenAI Codex](https://openai.com/codex) Co-Authored-By: OpenAI Codex <codex@openai.com>
This was referenced Aug 18, 2026
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
Stack
This is a two-commit child of
fix/phase36-joni-composed-fold-policy(PR #1059).The deletion commit is exactly range-diff equivalent to POJ3's validated
candidate. The routing commit has one intentional integration difference: it
retains the parent branch-reset hold while adding syntax-aware conditional
routing.
Validation
make:BUILD SUCCESSFULin 3m15s, all 17 tasks executedgit diff --check: cleanThis remains draft until its parent stack lands and CI is green on the rebased
master-based branch.