We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bc30a5 commit 72102e5Copy full SHA for 72102e5
src/prompt.ts
@@ -46,7 +46,7 @@ export function replaceTemplateVariables(
46
text: string,
47
variables: TemplateVariables
48
): string {
49
- return text.replace(/\{\{(\w+)\}\}/g, (match, variableName) => {
+ return text.replace(/\{\{([\w.-]+)\}\}/g, (match, variableName) => {
50
if (variableName in variables) {
51
return variables[variableName]
52
}
0 commit comments