From 80f5fec28ea088408c2ebb760fc488a6953d0379 Mon Sep 17 00:00:00 2001 From: gehrleib Date: Fri, 14 Feb 2025 14:56:11 -0500 Subject: [PATCH] Remove non-capturing groups --- 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 e47e418..174b516 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}\)|\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