Searched refs:findInLine (Results 1 – 2 of 2) sorted by relevance
4912 s.findInLine((Pattern) null); in test_findInLine_LPattern()4916 String result = s.findInLine(Pattern.compile("^")); in test_findInLine_LPattern()4918 result = s.findInLine(Pattern.compile("$")); in test_findInLine_LPattern()4926 result = s.findInLine(Pattern.compile("a\nb*")); in test_findInLine_LPattern()4930 result = s.findInLine(Pattern.compile("\\.")); in test_findInLine_LPattern()4934 result = s.findInLine(Pattern.compile("\\p{Lower}+")); in test_findInLine_LPattern()4940 result = s.findInLine(Pattern.compile("\\p{Digit}{5}")); in test_findInLine_LPattern()4950 result = s.findInLine(Pattern.compile("\\p{Lower}+")); in test_findInLine_LPattern()4962 result = s.findInLine(Pattern.compile("\\p{Digit}+")); in test_findInLine_LPattern()4971 s.findInLine((Pattern) null); in test_findInLine_LPattern()[all …]
1588 public String findInLine(String pattern) { in findInLine() method in Scanner1589 return findInLine(patternCache.forName(pattern)); in findInLine()1610 public String findInLine(Pattern pattern) { in findInLine() method in Scanner