assertEquals("abc", matches[0].getValue());
}
@Test
public void testSimpleGroup1() {
RE regex = JRegexFactory.INSTANCE.compile("(abc)");
RE.Match[] matches = regex.matcher().find("abc");
assertEquals(2, matches.length);
assertEquals(0, matches[0].getStart());
assertEquals(3, matches[0].getEnd());
assertEquals("abc", matches[0].getValue());
assertEquals(0, matches[1].getStart());