regex: java.util.regex companion code (groups, lookarounds, replaceAll lambdas, ReDoS and timeouts)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KqJyCidz3ZgRyHABv2GVJh
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
(?:a|b)*c length 1000 -> true
|
||||
(?:a|b)*c length 5000 -> StackOverflowError
|
||||
(?:a|b)*c length 20000 -> StackOverflowError
|
||||
(?:a|b)*c length 100000 -> StackOverflowError
|
||||
[ab]*c length 100000 -> true
|
||||
(?:a|b)*+c length 100000 -> true
|
||||
Reference in New Issue
Block a user