From c1bc2ee4208955fe4ddfff240a5d407a3e2a6ef8 Mon Sep 17 00:00:00 2001 From: Seraphys Date: Wed, 3 Sep 2025 09:18:17 -0500 Subject: [PATCH] tweak(regex): Update Amazon Regex --- regex_patterns/Amazon Prime.yml | 51 +++++++-------------------------- 1 file changed, 11 insertions(+), 40 deletions(-) diff --git a/regex_patterns/Amazon Prime.yml b/regex_patterns/Amazon Prime.yml index debaac1..603249e 100644 --- a/regex_patterns/Amazon Prime.yml +++ b/regex_patterns/Amazon Prime.yml @@ -1,5 +1,5 @@ name: Amazon Prime -pattern: \b(?:amzn|(?:AMZN|Amazon)(?=\s*(?:WEB-?DL|HD)))\b +pattern: \b(?:AMZN|(?:AMZN|AMAZON)(?=\s*.(?:WEB-?DL|WEBRIP)))\b description: Amazon Prime Video, or simply Prime Video, is an American subscription video on-demand over-the-top streaming and rental service of Amazon offered both as a stand-alone service and as part of Amazon's Prime subscription. @@ -7,47 +7,18 @@ tags: - Streaming Service - WEB-DL tests: -- expected: true - id: 1 +- id: 1 input: Futurama.S03E01.Amazon Women in the Mood.1080p.AMZN.WEB-DL.DDP2.0.H.264-Yatogam1.mkv - lastRun: '2024-12-06T01:59:08.829137' - matchSpan: - end: 51 - start: 47 - matchedContent: AMZN - matchedGroups: [] - passes: true -- expected: false - id: 2 + expected: true +- id: 2 input: Futurama.S03E05.Amazon.Women.in.the.Mood.NF.WEB DL.DDP2.0.x264 CtrlSD.mkv - lastRun: '2024-12-06T01:59:08.829137' - matchSpan: null - matchedContent: null - matchedGroups: [] - passes: true -- expected: false - id: 3 + expected: false +- id: 3 input: Amazon.Women.on.the.Moon.1987.720p.BluRay.x264-HANDJOB.mkv - lastRun: '2024-12-06T01:59:08.829137' - matchSpan: null - matchedContent: null - matchedGroups: [] - passes: true -- expected: true - id: 4 + expected: false +- id: 4 input: First.Contact.Lost.Tribe.of.the.Amazon.2016.1080p.AMZN.WEB-DL.DDP2.0.H.264-Q0SWeb.mkv - lastRun: '2024-12-06T01:59:08.829137' - matchSpan: - end: 54 - start: 50 - matchedContent: AMZN - matchedGroups: [] - passes: true -- expected: false - id: 5 + expected: true +- id: 5 input: First.Contact.Lost.Tribe.of.the.Amazon.2016.1080p.WEB-DL.DDP2.0.H.264-Q0SWeb.mkv - lastRun: '2024-12-06T01:59:08.829137' - matchSpan: null - matchedContent: null - matchedGroups: [] - passes: true + expected: false