Skip to content

Java regex simple lookbehind - #1656

Merged
arcuri82 merged 11 commits into
java-regex-simple-assertionsfrom
java-regex-simple-lookbehind
Jul 28, 2026
Merged

Java regex simple lookbehind#1656
arcuri82 merged 11 commits into
java-regex-simple-assertionsfrom
java-regex-simple-lookbehind

Conversation

@lmasroca

Copy link
Copy Markdown
Collaborator

Added support for basic java regex lookabehinds.

Using the checks introduced in the previous PR (#1646), we now allow lookbehinds and are able to perform repairs with them. We do this similarly to how lookaheads are handled: sampling a value from the lookbehind's internal DisjunctionListRxGene and attempting to force that value into the preceding genes.

@lmasroca
lmasroca changed the base branch from master to java-regex-simple-assertions July 27, 2026 18:04
@lmasroca
lmasroca requested a review from jgaleotti July 27, 2026 18:04
@jgaleotti
jgaleotti requested a review from arcuri82 July 28, 2026 13:59
@arcuri82
arcuri82 merged commit 636998e into java-regex-simple-assertions Jul 28, 2026
31 checks passed
@arcuri82
arcuri82 deleted the java-regex-simple-lookbehind branch July 28, 2026 19:45
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