tweak(format): Improve matching for Black & White colour grade (#34)

- Improve b&w matching to include various spellings / delimiters
- Enforce year look ahead to make sure black & white is not included in title
- Negate any colorized releases that were originally black and white
This commit is contained in:
Brandon
2025-02-15 01:24:15 -05:00
committed by GitHub
parent 4ea02d3967
commit 4585257e16
3 changed files with 166 additions and 25 deletions

View File

@@ -1,5 +1,5 @@
name: B&W
description: Matches the 'B&W' Regex Pattern
description: Matches the 'B&W' and 'Colour' Regex Pattern
tags:
- Unwanted
- Colour Grade
@@ -10,4 +10,27 @@ conditions:
pattern: B&W
required: true
type: release_title
tests: []
- name: Colour
negate: true
pattern: Colour
required: true
type: release_title
tests:
- conditionResults:
- matches: true
name: B&W
negate: false
pattern: B&W
required: true
type: release_title
- matches: true
name: Colour
negate: true
pattern: Colour
required: true
type: release_title
expected: false
id: 1
input: Dracula (1931) B&W (Colourized Version)
lastRun: '2025-02-13T13:14:54.830866'
passes: true