Skip to content

Add pluggable regex engine support#428

Merged
wnm3 merged 1 commit into
IBM:masterfrom
rayokota:pluggable-regex
Jul 6, 2026
Merged

Add pluggable regex engine support#428
wnm3 merged 1 commit into
IBM:masterfrom
rayokota:pluggable-regex

Conversation

@rayokota

@rayokota rayokota commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Adds a RegexEngine hook (mirroring the JS reference implementation's RegexEngine option) so callers can swap the JVM's default backtracking java.util.regex.Pattern for a linear-time engine and eliminate ReDoS exposure from user-supplied regex literals.

Signed-off-by: Robert Yokota <rayokota@gmail.com>
@wnm3 wnm3 merged commit 3416fe7 into IBM:master Jul 6, 2026
2 checks passed
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