Java: Port regex mode flag character fix from Python.

This commit is contained in:
Geoffrey White
2023-09-12 23:29:34 +01:00
parent 657642a122
commit 8c3e778be6
2 changed files with 30 additions and 11 deletions

View File

@@ -434,7 +434,7 @@ class ExpRedosTest {
"((aa|a*+)b)*c", // $ MISSING: hasExpRedos
// BAD - testsing
"(?is)(a|aa?)*b" // $ hasExpRedos hasPrefixMsg="starting with 'is' and " hasPump=a
"(?is)(a|aa?)*b" // $ hasExpRedos hasPrefixMsg= hasPump=a
};
void test() {