mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 18:17:48 +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 = /,? & /;
|
reSplitDetails = /,? & /;
|
||||||
|
|
||||||
/** Used to match non-compound words composed of alphanumeric characters. */
|
/** 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. */
|
/** Used to match backslashes in property paths. */
|
||||||
var reEscapeChar = /\\(\\)?/g;
|
var reEscapeChar = /\\(\\)?/g;
|
||||||
|
|||||||
Reference in New Issue
Block a user