code: protected static ValidationBuilder validateRegexpOf(String attributeName, String pattern) {
          return ModelDelegate.validateRegexpOf(modelClass(), attributeName, pattern);
      }
docs: Validates an attribite format with a ree hand regular expression.
  
  @param attributeName attribute to validate.
  @param pattern regexp pattern which must match  the value.