We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2c2cf1 commit e3b14bdCopy full SHA for e3b14bd
1 file changed
pkg/parser/html/gotemplate/analyzer.go
@@ -22,7 +22,6 @@ var (
22
reWith = regexp.MustCompile(`\{\{-?\s*with\s+(\.[\w.]+)\s*-?\}\}`)
23
reEnd = regexp.MustCompile(`\{\{-?\s*end\s*-?\}\}`)
24
reComment = regexp.MustCompile(`\{\{/\*.*?\*/\}\}`)
25
- reVariable = regexp.MustCompile(`\{\{-?\s*(\.[\w.]+)\s*-?\}\}`)
26
// Matches any Go template action: {{ ... }}
27
reAction = regexp.MustCompile(`\{\{(.+?)\}\}`)
28
// Matches dot-variables anywhere inside an action (e.g. .Body in "{{ .Body | truncate 200 }}")
0 commit comments