From 9608d1e7366613974efe1e2f994f914802a45ed5 Mon Sep 17 00:00:00 2001 From: fumiama Date: Thu, 28 Oct 2021 21:24:01 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20=20=E5=B0=8F=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin_b14/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin_b14/main.go b/plugin_b14/main.go index db346495..092018bf 100644 --- a/plugin_b14/main.go +++ b/plugin_b14/main.go @@ -25,7 +25,7 @@ func init() { ctx.SendChain(message.Text("加密失败!")) } }) - en.OnRegex("^解密([\u4e00-\u9fa5]*)$").SetBlock(true).ThirdPriority(). + en.OnRegex("^解密([\u4e00-\u9fa5]*[\u3d01-\u3d06]?)$").SetBlock(true).ThirdPriority(). Handle(func(ctx *zero.Ctx) { str := ctx.State["regex_matched"].([]string)[1] es, err := base14.UTF82utf16be(helper.StringToBytes(str))