src/main/java/org/fest/assertions/api/StringAssert.java
public @Nonnull
  StringAssert matches(@Nonnull Pattern pattern) {
    strings.assertMatches(description, actual, pattern);
    return this;
  }
public @Nonnull
  StringAssert matches(@Nonnull Pattern pattern) {
    strings.assertMatches(description, actual, pattern);
    return this;
  }
Verifies that the <em>actual</em> {@code String} matches the given regular expression.

@param pattern the compiled representation of the regular expression to which the <em>actual</em> {@code String} is
to be matched.
@return {@code this} assertion object.
@throws NullPointerException if the given pattern is {@code null}.
@throws AssertionError if the <em>actual</em> {@code String} is {@code null}.
@throws AssertionError if the <em>actual</em> {@code String} does not match the given regular expression.