fix test result

This commit is contained in:
rolux 2012-06-20 22:11:05 +02:00
parent 9e35ae0be2
commit 625325a6e6

View file

@ -523,7 +523,7 @@ Ox.words <f> Splits a string into words, removing punctuation
(string) -> <[s]> Array of words
string <s> Any string
> Ox.words('Let\'s "split" array-likes into key/value pairs--okay?')
['let's', 'split', 'array-likes', 'into', 'key', 'value', 'pairs', 'okay']
['let\'s', 'split', 'array-likes', 'into', 'key', 'value', 'pairs', 'okay']
@*/
Ox.words = function(string) {
var array = string.toLowerCase().split(/\b/),