docs: public CharSequence matchesPattern(final CharSequence input, final String pattern) {
          if (!Pattern.matches(pattern, input)) {
              fail(String.format(DEFAULT_MATCHES_PATTERN_EX, input, pattern));
          }
          return input;
      }