From 417ebc7a2dc625823816f789f616450c6d255f75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?= Date: Thu, 19 Sep 2024 15:53:11 +0200 Subject: [PATCH] fix: use ; as engine separator MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Charles-Edouard Brétéché --- pkg/syntax/expression/expression.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/syntax/expression/expression.go b/pkg/syntax/expression/expression.go index cb1ebf87..25e3cab2 100644 --- a/pkg/syntax/expression/expression.go +++ b/pkg/syntax/expression/expression.go @@ -8,7 +8,7 @@ var ( foreachRegex = regexp.MustCompile(`^~(\w+)?\.(.*)`) bindingRegex = regexp.MustCompile(`(.*)\s*->\s*(\w+)$`) escapeRegex = regexp.MustCompile(`^\\(.+)\\$`) - engineRegex = regexp.MustCompile(`^\((?:(\w+):)?(.+)\)$`) + engineRegex = regexp.MustCompile(`^\((?:(\w+);)?(.+)\)$`) ) const (