fix test result
This commit is contained in:
parent
9e35ae0be2
commit
625325a6e6
1 changed files with 1 additions and 1 deletions
|
@ -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/),
|
||||
|
|
Loading…
Reference in a new issue