docs: function replaceRegex(match, replace, flags) {
    if (arguments.length < 2) {
      throw new Error('no match and replace for replace regex');
    }
    return (flags === void 0) ?
        apply('ml.replace-regex', match, replace) :
        apply('ml.replace-regex', match, replace, flags);
  }