docs: public String replace(CharSequence text) {
          TextBuffer tb = wrap(new StringBuilder(text.length()));
          replace(pattern.matcher(text), substitution, tb);
          return tb.toString();
      }