From 7a667e82339b068b77c9394593cdf4932a22d7e7 Mon Sep 17 00:00:00 2001 From: gehrleib Date: Fri, 14 Feb 2025 15:09:50 -0500 Subject: [PATCH] We don't care if the year is surrounded by brackets --- regex_patterns/B&W.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regex_patterns/B&W.yml b/regex_patterns/B&W.yml index 174b516..fae5454 100644 --- a/regex_patterns/B&W.yml +++ b/regex_patterns/B&W.yml @@ -1,5 +1,5 @@ name: B&W -pattern: \(\d{4}\)|\d{4}.*?\bblack\b[\s\&.\-\/]*(?:and)?[\s\&.\-\/]*\bwhite\b|\bb\&?w\b +pattern: \d{4}.*?\bblack\b[\s\&.\-\/]*(?:and)?[\s\&.\-\/]*\bwhite\b|\bb\&?w\b description: Black and White colour grading. This regex matches a 4-digit number (optionally surrounded by parentheses), followed by any amount of text, and then detects references to "black and white" in various formats. It supports `blackwhite` (no spaces), `black