s = new Scanner("test\r\ntest");
String result = s.nextLine();
assertEquals("test", result);
MatchResult matchResult = s.match();
assertEquals(0, matchResult.start());
assertEquals(6, matchResult.end());
s = new Scanner("\u0085");
result = s.nextLine();
assertEquals("", result);
matchResult = s.match();