From fe8dc374941b86a69e4b4ef47a1085e1da35e4ea Mon Sep 17 00:00:00 2001 From: Ben Coleman Date: Sat, 5 Oct 2019 17:36:23 +0100 Subject: [PATCH] ready for v0.3.1 --- CHANGELOG.md | 6 ++++-- src/lib/arm-exp-parser.ts | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a046c9f..cfa81a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,10 @@ ## 0.3.1 - Export as PNG - Theme support (not fully implemented, only one theme currently 'original') -- Improved colouring on links and linked deployments -- Bug fixes on linked templates, quelle suprise +- VS Code theme colouring on links between nodes and box around linked deployments +- Fixes to expression evaluation (uri, replace) and guid() function added +- Yet more fixes on linked templates +- Large scale internal refactoring for better code structure & TypeScript ## 0.3.0 diff --git a/src/lib/arm-exp-parser.ts b/src/lib/arm-exp-parser.ts index 82b73d4..f967c6a 100644 --- a/src/lib/arm-exp-parser.ts +++ b/src/lib/arm-exp-parser.ts @@ -59,7 +59,8 @@ export default class ARMExpressionParser { } } - // It looks like a 'plain' function call + // It looks like a 'plain' function call without . something after it + // For historic reasons we treat these separate and I don't want to mess with it, as it works match = exp.match(/(\w+)\((.*)\)/); if(match) { let funcName = match[1].toLowerCase(); @@ -109,7 +110,7 @@ export default class ARMExpressionParser { } } - // It looks like a string literal + // It looks like a string literal in single quotes match = exp.match(/^\'(.*)\'$/); if(match) { return match[1];