bugfix: Issue #33 - argument names now allow a-zA-Z0-9_

This commit is contained in:
jamesread
2022-04-05 22:58:00 +01:00
parent e05083ebeb
commit 17c1804129
2 changed files with 87 additions and 1 deletions

View File

@@ -220,7 +220,7 @@ func parseActionArguments(rawShellCommand string, values map[string]string, acti
"cmd": rawShellCommand,
}).Infof("Before Parse Args")
r := regexp.MustCompile("{{ *?([a-z]+?) *?}}")
r := regexp.MustCompile("{{ *?([a-zA-Z0-9_]+?) *?}}")
matches := r.FindAllStringSubmatch(rawShellCommand, -1)
for _, match := range matches {