Skip to content

Java regex nested assertions - #1661

Open
lmasroca wants to merge 10 commits into
java-regex-simple-assertionsfrom
java-regex-nested-assertions
Open

Java regex nested assertions#1661
lmasroca wants to merge 10 commits into
java-regex-simple-assertionsfrom
java-regex-nested-assertions

Conversation

@lmasroca

@lmasroca lmasroca commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Allowed assertions (currently only lookaheads #1646 and lookbehinds #1656) to appear nested (within a group ()) on java regex. Allowed assertion requirements and repairs to escape their groups into neighboring terms. The outwards requirements of a group must be resolved by that group's neighboring genes during repairs for the repairs to be successful.

Note: Does not allow assertions to appear on quantified groups.

@lmasroca
lmasroca requested a review from jgaleotti August 4, 2026 16:44
@jgaleotti
jgaleotti requested a review from arcuri82 August 6, 2026 17:56
)
}

companion object {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

companion object should come in top of the class file, not on bottom

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