From 20bc1e2810a7068accde925e88f4b4b36e17774e Mon Sep 17 00:00:00 2001 From: santiagosayshey Date: Thu, 16 Jan 2025 16:15:22 +1050 Subject: [PATCH] tweak(regex): DTS & X can now be seperated by a colon --- regex_patterns/DTS-X.yml | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/regex_patterns/DTS-X.yml b/regex_patterns/DTS-X.yml index fe6a4db..5fd1875 100644 --- a/regex_patterns/DTS-X.yml +++ b/regex_patterns/DTS-X.yml @@ -1,5 +1,27 @@ name: DTS-X -pattern: \b(dts[-_. ]?x)\b(?!\d) +pattern: \b(dts[-_. :]?x)\b(?!\d) description: '' tags: [] -tests: [] +tests: +- expected: true + id: 1 + input: 2 Fast 2 Furious (2003) 2160p MA WEB-DL H265 HDR DTS:X 7.1 English-FLUX + lastRun: '2025-01-16T15:29:55.783259' + matchSpan: + end: 54 + start: 49 + matchedContent: DTS:X + matchedGroups: + - DTS:X + passes: true +- expected: true + id: 2 + input: 2.Fast.2.Furious.2003.2160p.MA.WEB-DL.DTS-X.7.1.H.265-FLUX.mkv + lastRun: '2025-01-16T15:29:55.783259' + matchSpan: + end: 43 + start: 38 + matchedContent: DTS-X + matchedGroups: + - DTS-X + passes: true