diff --git a/lib/ace/mode/lsl_highlight_rules.js b/lib/ace/mode/lsl_highlight_rules.js index 865da271..16938b3c 100644 --- a/lib/ace/mode/lsl_highlight_rules.js +++ b/lib/ace/mode/lsl_highlight_rules.js @@ -116,15 +116,15 @@ function LSLHighlightRules() { token : "constant.character.escape.lsl", regex : /\\[tn"\\]/ }, + { + token : "invalid.illegal.constant.character.escape.lsl", + regex : "\\." + }, { token : "string.quoted.double.end.lsl", regex : /"/, next : "start" }, - { - token : "invalid.illegal.constant.character.escape.lsl", - regex : /\\\./ - }, { token : "string.quoted.double.lsl", regex : ".+"