From c418fd994f828ff04cc6d2624daf92d6388daf2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=85=B1=E5=A4=A9=E5=B0=8F=E7=A6=BD=E5=85=BD?= Date: Wed, 28 Aug 2024 00:16:24 +0800 Subject: [PATCH] v8.0.1+257 --- changelog/v8.0.1+257.md | 5 +++++ lib/src/service/local_block_rule_service.dart | 1 + pubspec.yaml | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 changelog/v8.0.1+257.md diff --git a/changelog/v8.0.1+257.md b/changelog/v8.0.1+257.md new file mode 100644 index 00000000..032228c8 --- /dev/null +++ b/changelog/v8.0.1+257.md @@ -0,0 +1,5 @@ +- 修复本地屏蔽规则中无法以正则形式过滤评论内容的bug + +------------------------------------------------------------------------------------------ + +- Fix bug that comments content cannot be filtered by regular expressions in local blocking rules \ No newline at end of file diff --git a/lib/src/service/local_block_rule_service.dart b/lib/src/service/local_block_rule_service.dart index 24161de2..ce3f315a 100644 --- a/lib/src/service/local_block_rule_service.dart +++ b/lib/src/service/local_block_rule_service.dart @@ -39,6 +39,7 @@ class LocalBlockRuleService with JHLifeCircleBeanErrorCatch implements JHLifeCir GalleryTagRegexLocalBlockRuleHandler(), GalleryUploaderRegexLocalBlockRuleHandler(), CommentUserNameRegexLocalBlockRuleHandler(), + CommentContentRegexLocalBlockRuleHandler(), ]); } diff --git a/pubspec.yaml b/pubspec.yaml index 4f72d863..83c96d7b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: jhentai description: A flutter app for E-Hentai/EXHentai publish_to: 'none' -version: 8.0.1+256 +version: 8.0.1+257 environment: sdk: '>=3.0.0 <4.0.0'