mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 02:47:50 +00:00
Minor cleanup to reWords.
This commit is contained in:
@@ -158,7 +158,7 @@
|
|||||||
lower = '[a-z\\xdf-\\xf6\\xf8-\\xff]+',
|
lower = '[a-z\\xdf-\\xf6\\xf8-\\xff]+',
|
||||||
digits = '\\d+';
|
digits = '\\d+';
|
||||||
|
|
||||||
return RegExp(upper + '+(?=' + upper + lower + ')|' + upper + '?' + [lower, upper + '+', astrals, digits].join('|'), 'g');
|
return RegExp([upper + '+(?=' + upper + lower + ')', upper + '?' + lower, upper + '+', astrals, digits].join('|'), 'g');
|
||||||
}());
|
}());
|
||||||
|
|
||||||
/** Used to assign default `context` object properties. */
|
/** Used to assign default `context` object properties. */
|
||||||
|
|||||||
Reference in New Issue
Block a user