konstantinbe / milk

A little opinionated utility-belt library for CoffeeScript
0 stars 0 forks source link

Allow more control over how words() splits the string into words #1

Closed konstantinbe closed 12 years ago

konstantinbe commented 13 years ago

Depending on the format of the string I'd like have more control how the string is split into words. For example, in a regular english sentence, I'd want camel cased words not to be split:

"Konstantin's MacBook Pro is awesome!"

should result in:

["Konstantins", "MacBook", "Pro", "is", "awesome"]
konstantinbe commented 12 years ago

Obsolete.