Ensure _.words treats all-lower and all-upper postfixs as separate words.

This commit is contained in:
John-David Dalton
2016-01-18 22:33:48 -06:00
parent 6d58fe912d
commit 6296afd279
2 changed files with 9 additions and 7 deletions

View File

@@ -222,7 +222,7 @@
rsUpperMisc + '+(?=' + [rsBreak, rsUpper + rsLowerMisc, '$'].join('|') + ')',
rsUpper + '?' + rsLowerMisc + '+',
rsUpper + '+',
rsDigits + '(?:' + rsLowerMisc + '+)?',
rsDigits,
rsEmoji
].join('|'), 'g');