Merge pull request #1920 from cptroot/patch-1
Fix not recognizing `\\` as an escape sequence.
This commit is contained in:
commit
0e3abd3f41
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ var DHighlightRules = function() {
|
|||
|
||||
var stringEscapesSeq = {
|
||||
token: "constant.language.escape",
|
||||
regex: "\\\\(?:(?:x[0-9A-F]{2})|(?:[0-7]{1,3})|(?:['\"\\?0abfnrtv])|" +
|
||||
regex: "\\\\(?:(?:x[0-9A-F]{2})|(?:[0-7]{1,3})|(?:['\"\\?0abfnrtv\\\\])|" +
|
||||
"(?:u[0-9a-fA-F]{4})|(?:U[0-9a-fA-F]{8}))"
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue