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 da31c90 commit 5ab790eCopy full SHA for 5ab790e
utils/templating/templating.go
@@ -44,7 +44,7 @@ func AddTemplateFunc(tmplStr string, funcName string) (string, error) {
44
}
45
46
func TransformTemplateKeys(tmplStr string, prefix string, transform func(varRegex *regexp.Regexp, m string) string) (string, error) {
47
- re, err := regexp.Compile(`{{[^{}]+}}`)
+ re, err := regexp.Compile(`{{([^{}]+)}}`)
48
49
if err != nil {
50
return tmplStr, err
0 commit comments