docs: function capitalize(string) {
      return (/[a-z]/.test(string) ? string : string.toLowerCase())
          .replace(/[\s\-_]*([^\s\-_])([^\s\-_]+)/g, replacer)
          .replace(/[A-Z]/g, ' $&')
          .trim();
  }