docs: static Matcher convertSingleCharClassToSeq(Matcher matcher) {
      if (matcher instanceof CharClassMatcher) {
        Optional<Character> opt = matcher.<CharClassMatcher>as().set().character();
        if (opt.isPresent()) {
          return new CharSeqMatcher(opt.get());
        }
      }
      return matcher;
    }