code: function capitalise(str, all_words) { var re
          re = all_words?  /\b(\w)/g
                        :  /\b(\w)/
  
          return downcase(str).replace(re, function(match, letter) {
              return upcase(letter) })
      }
docs: /// Function capitalise //////////////////////////////////////////////////  (str:Str[, all_words:Bool]) ↦ Str  Capitalise the first letter of the given string.  Alternatively, if `all_words` is true, capitalise the first letter of all words in the string.