From ec8a17d12c4d656965bcad2da52993fe711d2e6a Mon Sep 17 00:00:00 2001 From: lxl <897601689@qq.com> Date: Mon, 22 Aug 2022 15:41:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=8F=8C=E9=87=8D=E5=BC=95?= =?UTF-8?q?=E5=8F=B7=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/DownKyi/ViewModels/ViewIndexViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DownKyi/ViewModels/ViewIndexViewModel.cs b/src/DownKyi/ViewModels/ViewIndexViewModel.cs index 5bb6fb0..e4f1406 100644 --- a/src/DownKyi/ViewModels/ViewIndexViewModel.cs +++ b/src/DownKyi/ViewModels/ViewIndexViewModel.cs @@ -215,7 +215,7 @@ namespace DownKyi.ViewModels } LogManager.Debug(Tag, $"InputText: {InputText}"); - InputText = Regex.Replace(InputText, @"[【][^【]*[】 ]", ""); + InputText = Regex.Replace(InputText, @"[【]*[^【]*[】 ]", ""); SearchService searchService = new SearchService(); bool isSupport = searchService.BiliInput(InputText, Tag, eventAggregator); if (!isSupport)