code: public static boolean isWildcardMatch(String str, String expr, boolean whole)
      {
          return getWildcardMatcher(str, expr, whole).find();
      }
docs: Returns <CODE>true</CODE> if the given string matches the given regular expression.
  @param str The string against which the expression is to be matched
  @param expr The regular expression to match with the input string
  @param whole Indicates that a whole word match is required
  @return <CODE>true</CODE> if a match was found