diff --git a/vscode-extension/syntaxes/pico.tmLanguage.json b/vscode-extension/syntaxes/pico.tmLanguage.json index a489f46..527e06e 100644 --- a/vscode-extension/syntaxes/pico.tmLanguage.json +++ b/vscode-extension/syntaxes/pico.tmLanguage.json @@ -14,7 +14,7 @@ "end": "(\\\")", "patterns": [ { - "match": "((?:\\\\)(?:\\\"))", + "match": "((?:\\\\)[\\\"\\\\])", "captures": { "1": { "name": "string.quoted.double" @@ -22,7 +22,7 @@ } }, { - "match": "([\\x{01}-\\!\\#-\\x{10FFFF}])", + "match": "([\\x{01}-\\!\\#-\\[\\]-\\x{10FFFF}])", "captures": { "1": { "name": "string.quoted.double" @@ -197,7 +197,7 @@ } }, "/inner/single/expression.strcon": { - "match": "((?<=(?:[\\t-\\n\\r\\x{20}\\%]|(?:(?:^))))(?:(?:\\\")(?:(?:(?:\\\\)(?:\\\"))|[\\x{01}-\\!\\#-\\x{10FFFF}])*?(?:\\\")))", + "match": "((?<=(?:[\\t-\\n\\r\\x{20}\\%]|(?:(?:^))))(?:(?:\\\")(?:(?:(?:\\\\)[\\\"\\\\])|[\\x{01}-\\!\\#-\\[\\]-\\x{10FFFF}])*?(?:\\\")))", "name": "/inner/single/expression.strcon", "captures": { "1": { diff --git a/vscode-extension/syntaxes/rascal.tmLanguage.json b/vscode-extension/syntaxes/rascal.tmLanguage.json index 4095f9d..c462663 100644 --- a/vscode-extension/syntaxes/rascal.tmLanguage.json +++ b/vscode-extension/syntaxes/rascal.tmLanguage.json @@ -229,7 +229,7 @@ } }, { - "match": "([\\x{01}-\\!\\#-\\&\\(-\\;\\=\\?-\\[\\]-\\x{10FFFF}])", + "match": "((?:\\\\)u[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f])", "captures": { "1": { "name": "string.quoted.double" @@ -237,7 +237,7 @@ } }, { - "match": "((?:\\\\)[\\\"\\'\\<\\>\\\\bfnrt])", + "match": "((?:\\\\)a[0-7][0-9A-Fa-f])", "captures": { "1": { "name": "string.quoted.double" @@ -253,7 +253,7 @@ } }, { - "match": "((?:\\\\)a[0-7][0-9A-Fa-f])", + "match": "((?:\\\\)[\\\"\\'\\<\\>\\\\bfnrt])", "captures": { "1": { "name": "string.quoted.double" @@ -261,7 +261,7 @@ } }, { - "match": "((?:\\\\)u[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f])", + "match": "([\\x{01}-\\!\\#-\\&\\(-\\;\\=\\?-\\[\\]-\\x{10FFFF}])", "captures": { "1": { "name": "string.quoted.double" @@ -302,7 +302,7 @@ } }, { - "match": "([\\x{01}-\\!\\#-\\&\\(-\\;\\=\\?-\\[\\]-\\x{10FFFF}])", + "match": "((?:\\\\)u[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f])", "captures": { "1": { "name": "string.quoted.double" @@ -310,7 +310,7 @@ } }, { - "match": "((?:\\\\)[\\\"\\'\\<\\>\\\\bfnrt])", + "match": "((?:\\\\)a[0-7][0-9A-Fa-f])", "captures": { "1": { "name": "string.quoted.double" @@ -318,7 +318,7 @@ } }, { - "match": "((?:\\n)[\\t\\x{20}\\x{A0}\\x{1680}\\x{2000}-\\x{200A}\\x{202F}\\x{205F}\\x{3000}]*?(?:\\'))", + "match": "((?:\\\\)[\\\"\\'\\<\\>\\\\bfnrt])", "captures": { "1": { "name": "string.quoted.double" @@ -326,7 +326,7 @@ } }, { - "match": "((?:\\\\)a[0-7][0-9A-Fa-f])", + "match": "((?:\\n)[\\t\\x{20}\\x{A0}\\x{1680}\\x{2000}-\\x{200A}\\x{202F}\\x{205F}\\x{3000}]*?(?:\\'))", "captures": { "1": { "name": "string.quoted.double" @@ -334,7 +334,7 @@ } }, { - "match": "((?:\\\\)u[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f])", + "match": "([\\x{01}-\\!\\#-\\&\\(-\\;\\=\\?-\\[\\]-\\x{10FFFF}])", "captures": { "1": { "name": "string.quoted.double" @@ -557,7 +557,7 @@ } }, { - "match": "([\\x{01}-\\!\\#-\\&\\(-\\;\\=\\?-\\[\\]-\\x{10FFFF}])", + "match": "((?:\\\\)u[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f])", "captures": { "1": { "name": "string.quoted.single" @@ -565,7 +565,7 @@ } }, { - "match": "((?:\\\\)[\\\"\\'\\<\\>\\\\bfnrt])", + "match": "((?:\\\\)a[0-7][0-9A-Fa-f])", "captures": { "1": { "name": "string.quoted.single" @@ -581,7 +581,7 @@ } }, { - "match": "((?:\\\\)a[0-7][0-9A-Fa-f])", + "match": "((?:\\\\)[\\\"\\'\\<\\>\\\\bfnrt])", "captures": { "1": { "name": "string.quoted.single" @@ -589,7 +589,7 @@ } }, { - "match": "((?:\\\\)u[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f])", + "match": "([\\x{01}-\\!\\#-\\&\\(-\\;\\=\\?-\\[\\]-\\x{10FFFF}])", "captures": { "1": { "name": "string.quoted.single"