mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
Remove tab as a character to escape in template strings.
This commit is contained in:
@@ -75,7 +75,7 @@
|
|||||||
var reThis = /\bthis\b/;
|
var reThis = /\bthis\b/;
|
||||||
|
|
||||||
/** Used to match unescaped characters in compiled string literals */
|
/** Used to match unescaped characters in compiled string literals */
|
||||||
var reUnescapedString = /['\n\r\t\u2028\u2029\\]/g;
|
var reUnescapedString = /['\n\r\u2028\u2029\\]/g;
|
||||||
|
|
||||||
/** Used to match words to create compound words */
|
/** Used to match words to create compound words */
|
||||||
var reWords = /[A-Z]{2,}|[a-zA-Z0-9][a-z0-9]*/g;
|
var reWords = /[A-Z]{2,}|[a-zA-Z0-9][a-z0-9]*/g;
|
||||||
@@ -206,7 +206,6 @@
|
|||||||
"'": "'",
|
"'": "'",
|
||||||
'\n': 'n',
|
'\n': 'n',
|
||||||
'\r': 'r',
|
'\r': 'r',
|
||||||
'\t': 't',
|
|
||||||
'\u2028': 'u2028',
|
'\u2028': 'u2028',
|
||||||
'\u2029': 'u2029'
|
'\u2029': 'u2029'
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user