changed regex order

This commit is contained in:
Builder's Brewery 2014-02-18 17:33:52 +01:00
commit 102de76b68

View file

@ -116,15 +116,15 @@ function LSLHighlightRules() {
token : "constant.character.escape.lsl", token : "constant.character.escape.lsl",
regex : /\\[tn"\\]/ regex : /\\[tn"\\]/
}, },
{
token : "invalid.illegal.constant.character.escape.lsl",
regex : /\\./
},
{ {
token : "string.quoted.double.end.lsl", token : "string.quoted.double.end.lsl",
regex : /"/, regex : /"/,
next : "start" next : "start"
}, },
{
token : "invalid.illegal.constant.character.escape.lsl",
regex : /\\./
},
{ {
token : "string.quoted.double.lsl", token : "string.quoted.double.lsl",
regex : ".+" regex : ".+"