From 05f53e4cfc4a4f079e3b932eb2436190d50972ac Mon Sep 17 00:00:00 2001 From: CodeX Date: Wed, 8 Apr 2026 17:25:40 +0200 Subject: [PATCH] Replace with cleaner 2-pattern regex version Replace the 5 separate regex patterns with a tighter 2-pattern version that covers the same rar/zip gaps plus overflow letters (t, u, v, w, x, y) not caught by the 5-pattern version, and adds 7z multi-volume coverage. Both patterns are case-insensitive. regex:(?i)^.*\.7z\.\d+$ - 7z multi-volume (.7z.001+) regex:(?i)^.*\.[r-z]\d+$ - rar volumes, overflow, zip splits The .partNN.rar pattern is removed because the existing *.rar literal entry already covers it (ends-with match). The bare .NNN numeric split pattern is removed because it was outside the stated scope of blocking rar, zip, and 7z archives. --- blacklist | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/blacklist b/blacklist index f65de0f..b94f7ef 100644 --- a/blacklist +++ b/blacklist @@ -844,8 +844,5 @@ Trailer.* VOSTFR api -regex:^.*\.\d{3}$ -regex:^.*\.part\d+\.rar$ -regex:^.*\.r\d+$ -regex:^.*\.s\d+$ -regex:^.*\.z\d+$ +regex:(?i)^.*\.7z\.\d+$ +regex:(?i)^.*\.[r-z]\d+$