54
56
// Regex used to capture characters that need escaping before enclosing
55
57
// their containing string in quotes.
56
58
_SPECIAL_CHARS = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
57
60
// Character substitution map for common escapes and special characters.