Explorar el Código

bugfix: Allow . in enxtended variable paths

jamesread hace 2 años
padre
commit
a54ea505c9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 {