bugfix: Allow . in enxtended variable paths

This commit is contained in:
jamesread 2024-07-15 22:20:49 +01:00
parent a1563b72ae
commit a54ea505c9
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ import (
var r *regexp.Regexp
func init() {
r = regexp.MustCompile(`{{ *?([a-zA-Z0-9_]+)\.([a-zA-Z0-9_]+) *?}}`)
r = regexp.MustCompile(`{{ *?([a-zA-Z0-9_]+)\.([a-zA-Z0-9_\.]+) *?}}`)
}
func ReplaceEntityVars(prefix string, source string) string {