docs: private static Transition makeCssUriTransition(Pattern regex, final UriType uriType) {
      return new Transition(regex) {
        @Override
        Context computeNextContext(Context prior, Matcher matcher) {
          String delim = matcher.group(1);
          HtmlContext state;
          if ("\"".equals(delim)) {
            state = HtmlContext.CSS_DQ_URI;
          } else if ("'".equals(delim)) {
            state = HtmlContext.CSS_SQ_URI;
          } else {
            state = HtmlContext.CSS_URI;
          }
          return prior
              .toBuilder()
              .withState(state)
              .withUriType(uriType)
              .withUriPart(UriPart.START)
              .build();
        }
      };
    }