Searched refs:mat2 (Results 1 – 2 of 2) sorted by relevance
236 Matcher mat2 = pat.matcher(testString2); in test_lookingAt() local241 assertTrue("Should find given pattern in 2 string", mat2.lookingAt()); in test_lookingAt()269 Matcher mat2 = pat2.matcher(testString); in test_findI() local274 mat2.find(i); in test_findI()275 assertEquals(testString.substring(i, i + length), mat2.group(1)); in test_findI()
403 Matcher mat2 = pat2.matcher(testString); in testFind() local406 while (mat2.find()) { in testFind()407 assertEquals(testString.substring(start, start + length), mat2 in testFind()