From 6fb13e17bfb57e9231b7c3ac73fd7342b4e0af5a Mon Sep 17 00:00:00 2001 From: cdle Date: Mon, 12 Jun 2023 11:50:05 +0800 Subject: [PATCH] x --- core/plugin_paterner.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/plugin_paterner.go b/core/plugin_paterner.go index af7c376..9737fc8 100644 --- a/core/plugin_paterner.go +++ b/core/plugin_paterner.go @@ -1,6 +1,10 @@ package core +import "regexp" + func getPaterner(uuid, path string) { + var ss = regexp.MustCompile(`\S+`).FindAllString(path, -1) + path = ss[0] var data []byte var address = "" ls := plugin_list