From 05b43927880af709b593d778282edd18176c572c Mon Sep 17 00:00:00 2001 From: appuser Date: Sun, 7 Sep 2025 21:08:47 -0700 Subject: [PATCH] fix(regex): Fixed repack pattern --- .../Dolby Vision (Without Fallback).yml | 14 ++++- .../Dolby Vision (Without Fallback).yml | 12 ++-- regex_patterns/Repack1.yml | 52 ++++++---------- regex_patterns/Special Edition.yml | 61 +++++++++++-------- 4 files changed, 75 insertions(+), 64 deletions(-) diff --git a/custom_formats/Dolby Vision (Without Fallback).yml b/custom_formats/Dolby Vision (Without Fallback).yml index d1a1275..e953aec 100644 --- a/custom_formats/Dolby Vision (Without Fallback).yml +++ b/custom_formats/Dolby Vision (Without Fallback).yml @@ -9,4 +9,16 @@ conditions: pattern: Dolby Vision (Without Fallback) required: true type: release_title -tests: [] +tests: +- conditionResults: + - matches: false + name: Dolby Vision (Without Fallback) + negate: false + pattern: Dolby Vision (Without Fallback) + required: true + type: release_title + expected: false + id: 1 + input: Togo (2019) {tmdb-606856} [WEBDL-2160p][DV HDR10][EAC3 Atmos 5.1][HEVC]-SiC.mkv + lastRun: '2025-09-07T20:47:35.280458' + passes: true diff --git a/regex_patterns/Dolby Vision (Without Fallback).yml b/regex_patterns/Dolby Vision (Without Fallback).yml index 69be91f..0e74baa 100644 --- a/regex_patterns/Dolby Vision (Without Fallback).yml +++ b/regex_patterns/Dolby Vision (Without Fallback).yml @@ -10,7 +10,7 @@ tests: - expected: false id: 1 input: Barbie.2023.2160p.MA.WEB-DL.DDP5.1.Atmos.DV.HDR.H.265-FLUX - lastRun: '2025-09-07T20:45:02.828578' + lastRun: '2025-09-07T20:48:30.215110' matchSpan: null matchedContent: null matchedGroups: [] @@ -19,7 +19,7 @@ tests: id: 2 input: "\t Barbie (2023) (2160p AMZN WEB-DL Hybrid H265 DV HDR10+ DDP Atmos 5.1\ \ English - HONE)" - lastRun: '2025-09-07T20:45:02.828578' + lastRun: '2025-09-07T20:48:30.215110' matchSpan: null matchedContent: null matchedGroups: [] @@ -27,7 +27,7 @@ tests: - expected: true id: 3 input: Barbie.2023.2160p.MA.WEB-DL.DDP5.1.Atmos.DV.H.265-FLUX - lastRun: '2025-09-07T20:45:02.828578' + lastRun: '2025-09-07T20:48:30.215110' matchSpan: end: 43 start: 41 @@ -40,7 +40,7 @@ tests: - expected: true id: 4 input: Barbie.2023.2160p.MA.WEB-DL.DDP5.1.Atmos.DV.H.265-FLUX.mkv - lastRun: '2025-09-07T20:45:02.828578' + lastRun: '2025-09-07T20:48:30.215110' matchSpan: end: 43 start: 41 @@ -54,7 +54,7 @@ tests: id: 5 input: Killers of the Flower Moon (2023) {tmdb-466420} [iT][WEBDL-2160p][DV HDR10Plus][EAC3 Atmos 5.1][h265]-FLUX.mkv - lastRun: '2025-09-07T20:45:02.828578' + lastRun: '2025-09-07T20:48:30.215110' matchSpan: null matchedContent: null matchedGroups: [] @@ -62,7 +62,7 @@ tests: - expected: false id: 6 input: Togo (2019) {tmdb-606856} [WEBDL-2160p][DV HDR10][EAC3 Atmos 5.1][HEVC]-SiC.mkv - lastRun: '2025-09-07T20:45:02.828578' + lastRun: '2025-09-07T20:48:30.215110' matchSpan: null matchedContent: null matchedGroups: [] diff --git a/regex_patterns/Repack1.yml b/regex_patterns/Repack1.yml index 17fbf28..9953e4a 100644 --- a/regex_patterns/Repack1.yml +++ b/regex_patterns/Repack1.yml @@ -1,5 +1,5 @@ name: Repack1 -pattern: \b(re(pack|rip)|proper)\b +pattern: \bre(?:pack|rip)\b|(?