* matched and returns the string that matched the pattern.
*/
result = s.findWithinHorizon(Pattern.compile("\\p{Digit}+"), 2);
assertEquals("12", result);
mresult = s.match();
assertEquals(0, mresult.start());
assertEquals(2, mresult.end());
// Postion is now pointing at the bar. "12|345test1234test next"
result = s.findWithinHorizon(Pattern.compile("\\p{Digit}+"), 6);
assertEquals("345", result);