mirror of
https://github.com/corda/corda.git
synced 2025-01-04 04:04:27 +00:00
Merge pull request #120 from dscho/look-behind-test
Fix the look-behind test for OpenJDK
This commit is contained in:
commit
39e3850ed8
@ -70,7 +70,7 @@ public class Regex {
|
||||
expectGroups("a|(b|c)", "a", (String)null);
|
||||
expectGroups("a|(b|c)", "c", "c");
|
||||
expectGroups("(?=a)a", "a");
|
||||
expectGroups(".*(o)(?<=[A-Z][a-z]*)", "Hello", "o");
|
||||
expectGroups(".*(o)(?<=[A-Z][a-z]{1,4})", "Hello", "o");
|
||||
expectNoMatch("(?!a).", "a");
|
||||
expectMatch("[\\d]", "0");
|
||||
expectMatch("\\0777", "?7");
|
||||
|
Loading…
Reference in New Issue
Block a user