code: public Regex group(String name) {
        return re("(" + (StringUtils.isNotNullOrBlank(name) ? "?<" + name + ">" : StringUtils.EMPTY) + pattern + ")");
     }
docs: Converts the regex into a group. If the supplied name is not null or blank, the group will be named.
  
  @param name the name of the group
  @return the regex