mirror of
https://github.com/github/codeql.git
synced 2026-04-27 09:45:15 +02:00
Java: Port regex mode flag character fix from Python.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user