public int[] nextMatch(String text)
public int[] nextMatch(Segment text)
	public int[] nextMatch(String text)	{		REMatch match = re.getMatch(text);		if(match == null)			return null;		int[] result = { match.getStartIndex(),			match.getEndIndex() };		return result;	}