mirror of
https://github.com/leiurayer/downkyi.git
synced 2024-04-21 12:41:55 +00:00
Merge commit 'refs/pull/516/head' of https://github.com/leiurayer/downkyi into v1.5.x
This commit is contained in:
Binary file not shown.
@@ -12,6 +12,7 @@ using Prism.Regions;
|
||||
using Prism.Services.Dialogs;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Media.Imaging;
|
||||
@@ -214,7 +215,7 @@ namespace DownKyi.ViewModels
|
||||
}
|
||||
|
||||
LogManager.Debug(Tag, $"InputText: {InputText}");
|
||||
|
||||
InputText = Regex.Replace(InputText, @"[【]*[^【]*[^】]*[】 ]", "");
|
||||
SearchService searchService = new SearchService();
|
||||
bool isSupport = searchService.BiliInput(InputText, Tag, eventAggregator);
|
||||
if (!isSupport)
|
||||
|
||||
@@ -18,6 +18,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Linq;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
|
||||
@@ -184,7 +185,7 @@ namespace DownKyi.ViewModels
|
||||
if (InputText == null || InputText == string.Empty) { return; }
|
||||
|
||||
LogManager.Debug(Tag, $"InputText: {InputText}");
|
||||
|
||||
InputText = Regex.Replace(InputText, @"[【]*[^【]*[^】]*[】 ]", "");
|
||||
input = InputText;
|
||||
|
||||
// 更新页面
|
||||
|
||||
Reference in New Issue
Block a user