public MatchResult match(){
  if (!matchSuccessful) {
    throw new IllegalStateException();
  }
  return matcher.toMatchResult();
}

public MatchResult match ( ) { if ( ! matchSuccessful ) { throw new IllegalStateException ( ) ; } return matcher . toMatchResult ( ) ; }
returns the result of the last matching operation . < p > the next * and find * methods return the match result in the case of a successful match .
