Skip to content

Java regex unsatisfiable alternatives support#1577

Open
lmasroca wants to merge 22 commits into
masterfrom
regex-support-extension
Open

Java regex unsatisfiable alternatives support#1577
lmasroca wants to merge 22 commits into
masterfrom
regex-support-extension

Conversation

@lmasroca

@lmasroca lmasroca commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Added support for satisfiable java regex with unsatisfiable pieces. This allows for things like [a&&b] which are unsatisfiable to appear inside regexes which have another satisfiable alternative, for example: a|[a&&b]|c, this would be able to sample the same values as a|c instead of throwing.

lmasroca added 18 commits May 26, 2026 21:16
…ng from regex with at least one non-empty alternative.
…sion

# Conflicts:
#	core/src/main/antlr4/org/evomaster/core/parser/RegexJava.g4
#	core/src/main/kotlin/org/evomaster/core/parser/GeneRegexJavaVisitor.kt
#	core/src/main/kotlin/org/evomaster/core/utils/MultiCharacterRange.kt
#	core/src/test/kotlin/org/evomaster/core/parser/GeneRegexJavaVisitorTest.kt
@lmasroca lmasroca requested a review from jgaleotti June 8, 2026 17:55
@lmasroca lmasroca requested a review from jgaleotti June 9, 2026 16:33
@lmasroca lmasroca requested a review from jgaleotti June 9, 2026 21:16
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.

2 participants