bake: add replace func to stdlib

Signed-off-by: Justin Chadwell <me@jedevc.com>
This commit is contained in:
Justin Chadwell 2023-04-05 11:48:24 +01:00
parent 87f900ce77
commit 5d33a3af22

View File

@ -79,6 +79,7 @@ var stdlibFunctions = map[string]function.Function{
"regex_replace": stdlib.RegexReplaceFunc, "regex_replace": stdlib.RegexReplaceFunc,
"regex": stdlib.RegexFunc, "regex": stdlib.RegexFunc,
"regexall": stdlib.RegexAllFunc, "regexall": stdlib.RegexAllFunc,
"replace": stdlib.ReplaceFunc,
"reverse": stdlib.ReverseFunc, "reverse": stdlib.ReverseFunc,
"reverselist": stdlib.ReverseListFunc, "reverselist": stdlib.ReverseListFunc,
"rsadecrypt": crypto.RsaDecryptFunc, "rsadecrypt": crypto.RsaDecryptFunc,