code: public boolean matches(String pString, String pRegex) throws PatternSyntaxException {
          return Pattern.matches(pRegex, pString);
      }
docs: Tells whether or not the given string string matches the given regular
  expression.
  <p/>
  An invocation of this method of the form
  <tt>matches(<i>str</i>, <i>regex</i>)</tt> yields exactly the
  same result as the expression
  <p/>
  <blockquote><tt> {@link Pattern}.
  {@link Pattern#matches(String, CharSequence) matches}
  (<i>regex</i>, <i>str</i>)</tt></blockquote>
  
  @param pString the string
  @param pRegex  the regular expression to which this string is to be matched
  @return {@code true} if, and only if, this string matches the
  given regular expression
  @throws PatternSyntaxException if the regular expression's syntax is invalid
  @see Pattern
  @see String#matches(String)