mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
Implement reAsciiWord by a negated character class to match more when unicode is dropped.
This commit is contained in:
@@ -150,7 +150,7 @@
|
||||
reSplitDetails = /,? & /;
|
||||
|
||||
/** Used to match non-compound words composed of alphanumeric characters. */
|
||||
var reAsciiWord = /[a-zA-Z0-9]+/g;
|
||||
var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
||||
|
||||
/** Used to match backslashes in property paths. */
|
||||
var reEscapeChar = /\\(\\)?/g;
|
||||
|
||||
Reference in New Issue
Block a user