From 72102e50bfcdb3f04447929bf2b2fb23e2db81cf Mon Sep 17 00:00:00 2001 From: Sean Goedecke Date: Mon, 21 Jul 2025 14:55:49 +1000 Subject: [PATCH] Update src/prompt.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- src/prompt.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prompt.ts b/src/prompt.ts index dda9d13..02fe266 100644 --- a/src/prompt.ts +++ b/src/prompt.ts @@ -46,7 +46,7 @@ export function replaceTemplateVariables( text: string, variables: TemplateVariables ): string { - return text.replace(/\{\{(\w+)\}\}/g, (match, variableName) => { + return text.replace(/\{\{([\w.-]+)\}\}/g, (match, variableName) => { if (variableName in variables) { return variables[variableName] }