From ebb5e48d9a309db49e829eec12bdf88762a29db0 Mon Sep 17 00:00:00 2001 From: Seednode Date: Wed, 10 Jan 2024 13:07:50 -0600 Subject: [PATCH] Move regex compilation to global variable --- cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index f3192d6..66af01f 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -18,7 +18,7 @@ import ( const ( AllowedCharacters string = `^[A-z0-9.\-_]+$` - ReleaseVersion string = "5.0.3" + ReleaseVersion string = "5.0.4" ) var (