From 9d7017fe2c79cbd9b3df4d8dbe7989ba1386cb64 Mon Sep 17 00:00:00 2001 From: Erik Lieben Date: Wed, 28 Feb 2018 22:08:10 +0100 Subject: [PATCH] fix(syntax): implement fix from darthInvad0r for string interpolation, resolves #79 (#83) --- syntaxes/html.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntaxes/html.json b/syntaxes/html.json index f5097bed..dfee530b 100644 --- a/syntaxes/html.json +++ b/syntaxes/html.json @@ -760,7 +760,7 @@ }, "string.interpolation.html.au": { - "match": "(\\${)(.*)(})", + "match": "(\\${)([^{}]*(?:{[^{}]*})*\\s*(?:{[^{}]*})*\\s*(?:{[^{}]*})*\\s*(?:{[^{}]*})*\\s*)(})", "captures": { "1": { "name": "punctuation.definition.string.interpolation.start"