code: public static ReposTag parseRepositoryTag(String name) {
          int n = name.lastIndexOf(':');
          if (n < 0) {
              return new ReposTag(name, "");
          }
          String tag = name.substring(n + 1);
          if (StringUtils.containsIgnoreCase(name, SHA256_SEPARATOR)) {
              return new ReposTag(name, "");
          }
          if (!tag.contains("/")) {
              return new ReposTag(name.substring(0, n), tag);
          }
          return new ReposTag(name, "");
      }
docs: + "/)*" + RepositoryNameComponentRegexp.pattern());