Regex: support lookaheads

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin
2013-11-12 09:33:45 -06:00
parent d4a2f58eb5
commit 85af36ef90
4 changed files with 64 additions and 7 deletions

View File

@ -59,5 +59,6 @@ public class Regex {
expectGroups("(?:a)", "a");
expectGroups("a|(b|c)", "a", (String)null);
expectGroups("a|(b|c)", "c", "c");
expectGroups("(?=a)a", "a");
}
}