/** * Returns the string representation of this pattern. This * is the regular expression from which this pattern was * compiled. * @return The string representation of this pattern * @since 1.5 */ public String toString() { return internal.toString(); }
/** * Returns the regular expression from which this pattern was compiled. * * @return The source of this pattern */ public String pattern() { return internal.toString(); }