From fe3ffbf2ca32cfc26e9400b41758f04da9b68599 Mon Sep 17 00:00:00 2001 From: zhiyu1998 <542716863@qq.com> Date: Thu, 1 Aug 2024 22:08:44 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=E4=BF=AE=E5=A4=8D=E9=83=A8?= =?UTF-8?q?=E5=88=86music=E5=A4=B1=E8=B4=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/tools.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/tools.js b/apps/tools.js index 14ae447..ca15cd4 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -1764,7 +1764,7 @@ export class tools extends plugin { return true; } } else { - const normalRegex = /^(.*?)\s+https?:\/\//; + const normalRegex = /^(.*?)\s*https?:\/\//; musicInfo = normalRegex.exec(e.msg)?.[1].trim(); } // 删除特殊字符