bugfix: Allow . in enxtended variable paths
This commit is contained in:
parent
a1563b72ae
commit
a54ea505c9
|
|
@ -11,7 +11,7 @@ import (
|
||||||
var r *regexp.Regexp
|
var r *regexp.Regexp
|
||||||
|
|
||||||
func init() {
|
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 {
|
func ReplaceEntityVars(prefix string, source string) string {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue