Searched refs:findInLine (Results 1 - 2 of 2) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
H A DOldScannerTest.java270 s.findInLine((String) null);
278 s.findInLine((String) null);
284 s.findInLine("test");
292 String result = s.findInLine("^");
298 result = s.findInLine("$");
305 * When we use the operation of findInLine(Pattern), the match region
309 result = s.findInLine("a\nb*");
313 result = s.findInLine("\\.");
317 result = s.findInLine("\\p{Lower}+");
323 result = s.findInLine("\\
[all...]
/libcore/luni/src/main/java/java/util/
H A DScanner.java329 public String findInLine(Pattern pattern) { method in class:Scanner
410 * {@code findInLine(Pattern.compile(pattern))}.
419 * @see #findInLine(Pattern)
421 public String findInLine(String pattern) { method in class:Scanner
422 return findInLine(Pattern.compile(pattern));

Completed in 18 milliseconds