code: @Beta
      public static void checkMatches(String reference, Pattern pattern) {
          checkMatches(reference, pattern, "Expected %s to match '%s'", reference, pattern == null ? "null" : pattern.pattern());
      }
docs: Performs check with the regular expression pattern.
  
  @param reference reference to check
  @param pattern   the regular expression pattern
  @throws IllegalArgumentException if the {@code reference} doesn't match provided regular expression
  @see Checks#checkMatches(String, java.util.regex.Pattern, String, Object...)