position = -1;
return null;
}
if (matches.MoveNext()) {
Match match = (Match)matches.get_Current();
current = input.subSequence(prevEnd, match.get_Index());
prevEnd = match.get_Index() + match.get_Length();
} else {
current = input.subSequence(prevEnd, input.length());
prevEnd = -1;
}
position++;