Przeglądaj źródła

bugfix: Allow . in enxtended variable paths

jamesread 2 lat temu
rodzic
commit
a54ea505c9
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      internal/stringvariables/entities.go

+ 1 - 1
internal/stringvariables/entities.go

@@ -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 {