public String previewNextToken(){
  matcher.find();
  String nextOne=matcher.group();
  updateMatcher();
  return nextOne;
}

public String previewNextToken ( ) { matcher . find ( ) ; String nextOne = matcher . group ( ) ; updateMatcher ( ) ; return nextOne ; }
utility method to " preview " the next token after the current one . used in some scripts .
