From 27c0fc37a728d00bf3766502ae1847fcd34bcdff Mon Sep 17 00:00:00 2001 From: Seraphys Date: Mon, 18 Aug 2025 20:44:52 -0500 Subject: [PATCH] create(regex): TV Extras Regex / CF --- custom_formats/TV Extras.yml | 12 ++++++++++++ regex_patterns/TV Extras.yml | 17 +++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 custom_formats/TV Extras.yml create mode 100644 regex_patterns/TV Extras.yml diff --git a/custom_formats/TV Extras.yml b/custom_formats/TV Extras.yml new file mode 100644 index 0000000..36b9831 --- /dev/null +++ b/custom_formats/TV Extras.yml @@ -0,0 +1,12 @@ +name: TV Extras +description: Matches the 'Extras' Regex Pattern +tags: +- Banned +- Enhancement +conditions: +- name: TV Extras + negate: false + pattern: TV Extras + required: true + type: release_title +tests: [] diff --git a/regex_patterns/TV Extras.yml b/regex_patterns/TV Extras.yml new file mode 100644 index 0000000..58753d4 --- /dev/null +++ b/regex_patterns/TV Extras.yml @@ -0,0 +1,17 @@ +name: TV Extras +pattern: (?<=\bS\d+\b).*\b(Extras|Bonus|Extended[ ._-]Clip)\b +description: Extras, Special Features, Featurettes, etc +tags: +- Banned +tests: +- expected: true + id: 1 + input: Game of Thrones S08 Extras The Game Revealed 1080p AMZN WEB-DL DD+ 2.0 H.264-NTG + lastRun: '2025-08-18T20:43:40.568644' + matchSpan: + end: 26 + start: 19 + matchedContent: ' Extras' + matchedGroups: + - Extras + passes: true