Searched refs:pat (Results 1 – 6 of 6) sorted by relevance
100 Pattern pat = Pattern.compile("x"); in testSplitCharSequence() local103 s = pat.split("zxx:zzz:zxx", 10); in testSplitCharSequence()105 s = pat.split("zxx:zzz:zxx", 3); in testSplitCharSequence()107 s = pat.split("zxx:zzz:zxx", -1); in testSplitCharSequence()109 s = pat.split("zxx:zzz:zxx", 0); in testSplitCharSequence()112 pat = Pattern.compile("b"); in testSplitCharSequence()113 s = pat.split("abccbadfebb"); in testSplitCharSequence()115 s = pat.split(""); in testSplitCharSequence()118 pat = Pattern.compile(""); in testSplitCharSequence()119 s = pat.split(""); in testSplitCharSequence()[all …]
108 String pat = "\\p"+pa; in testCategory() local110 Pattern p = Pattern.compile(pat); in testCategory()119 "by pattern '"+pat, p.matcher(t).matches()); in testCategory()124 "by pattern '"+pat, p.matcher(t).matches()); in testCategory()
79 Pattern pat = Pattern.compile("XX"); in testAppendReplacement() local80 Matcher m = pat.matcher("Today is XX-XX-XX ..."); in testAppendReplacement()105 Pattern pat = Pattern.compile(pattern); in testReplaceAll() local106 Matcher mat = pat.matcher(input); in testReplaceAll()140 Pattern pat = Pattern.compile(pattern); in testReplaceFirst() local141 Matcher mat = pat.matcher(input); in testReplaceFirst()290 Pattern pat = Pattern.compile("((a)|(b))++c"); in testGroupPossessive() local291 Matcher mat = pat.matcher("aac"); in testGroupPossessive()316 Pattern pat = Pattern.compile(testPatterns[i]); in testMatchesMisc() local318 Matcher mat = pat.matcher(posSeq[i][j]); in testMatchesMisc()[all …]
223 Pattern pat = Pattern.compile(replacedString); in testReplacementBackSlash() local224 Matcher mat = pat.matcher(str); in testReplacementBackSlash()
31 Pattern pat = Pattern.compile("XX"); in testAppendReplacement() local32 Matcher m = pat.matcher("Today is XX-XX-XX ..."); in testAppendReplacement()41 pat = Pattern.compile("cat"); in testAppendReplacement()42 m = pat.matcher("one-cat-two-cats-in-the-yard"); in testAppendReplacement()66 Pattern pat = Pattern.compile(testPattern); in test_resetLjava_lang_String() local67 Matcher mat = pat.matcher(testString1); in test_resetLjava_lang_String()114 Pattern pat = Pattern.compile(testPattern); in test_reset() local115 Matcher mat = pat.matcher(testString); in test_reset()125 Pattern pat = Pattern.compile(testPattern); in test_hasAnchoringBounds() local126 Matcher mat = pat.matcher(testString); in test_hasAnchoringBounds()[all …]
938 String pat="text here {0, date, yyyyyyyyy } and here"; in test_format_Object() local940 MessageFormat obj = new MessageFormat(pat); in test_format_Object()