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