Skip to content

Java regex unsatisfiable alternatives support - #1577

Merged
arcuri82 merged 26 commits into
masterfrom
regex-support-extension
Jun 27, 2026
Merged

Java regex unsatisfiable alternatives support#1577
arcuri82 merged 26 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
@jgaleotti
jgaleotti requested a review from arcuri82 June 16, 2026 18:09
@lmasroca
lmasroca requested a review from arcuri82 June 26, 2026 22:04
@arcuri82
arcuri82 merged commit 0a1c1cd into master Jun 27, 2026
29 checks passed
@arcuri82
arcuri82 deleted the regex-support-extension branch June 27, 2026 18:24
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