Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-23 16:47:11 +08:00
parent 148e0872b4
commit 418a1e8d39
821 changed files with 29467 additions and 25520 deletions

View File

@@ -19,9 +19,12 @@ class RuleFilter {
dmFilterString = rules[0].map((e) => e.filter).toList();
dmRegExp = rules[1]
.map((e) => RegExp(
.map(
(e) => RegExp(
_regExp.matchAsPrefix(e.filter)?.group(1) ?? e.filter,
caseSensitive: false))
caseSensitive: false,
),
)
.toList();
dmUid = rules[2].map((e) => e.filter).toSet();