Skip to content

Commit 72102e5

Browse files
sgoedeckeCopilot
andauthored
Update src/prompt.ts
Co-authored-by: Copilot <[email protected]>
1 parent 2bc30a5 commit 72102e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prompt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export function replaceTemplateVariables(
4646
text: string,
4747
variables: TemplateVariables
4848
): string {
49-
return text.replace(/\{\{(\w+)\}\}/g, (match, variableName) => {
49+
return text.replace(/\{\{([\w.-]+)\}\}/g, (match, variableName) => {
5050
if (variableName in variables) {
5151
return variables[variableName]
5252
}

0 commit comments

Comments
 (0)