DescriptionThe old _escaped regex matched any characters not in range from space to tilde, i.e. from \x20 to \x7e. Therefore it matched all non-ASCII characters, despite this comment in _EncodeString: "Characters above the ASCII range are passed through to the output encoded as UTF-8 without any escaping."
This changes the regex to match the same set of ASCII characters as before, without matching characters outside the ASCII range.
Committed GYP r1728
Patch Set 1 #Patch Set 2 : Add tests. #
Total comments: 10
Patch Set 3 : Don't escape DEL character #Patch Set 4 : Update comment. #Patch Set 5 : Check tab escaping.wq #
Messages
Total messages: 9 (0 generated)
|