From 99516f9457a6f35b93ee3cbd96202563b3f13187 Mon Sep 17 00:00:00 2001 From: dereckchen <2564938992@qq.com> Date: Sat, 7 Oct 2023 10:20:04 +0800 Subject: [PATCH] fix: fix regexp bug --- lorry/binding/custom/custom.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lorry/binding/custom/custom.go b/lorry/binding/custom/custom.go index 0de70843e22..8e67419769c 100644 --- a/lorry/binding/custom/custom.go +++ b/lorry/binding/custom/custom.go @@ -47,7 +47,7 @@ type HTTPCustom struct { BaseOperations } -var perNodeRegx = regexp.MustCompile("[a-zA-Z0-9]+") +var perNodeRegx = regexp.MustCompile("^[^,]*$") // NewHTTPCustom returns a new HTTPCustom. func NewHTTPCustom() *HTTPCustom {