Determines if a string exactly matches a given pattern. If there is an exact match, a MatchResult instance representing the match is made accesible via {@link #getMatch()}.
@param input The String to test for an exact match.
@param pattern The Pattern to be matched.
@return True if input matches pattern, false otherwise.