From faf57f58cb74a0884f61d716434ece9f9df67137 Mon Sep 17 00:00:00 2001 From: Brandon Date: Sun, 9 Feb 2025 17:03:50 -0500 Subject: [PATCH] Match lines of text that contain the word "x264" but do not contain the word "remux" --- regex_patterns/x264.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/regex_patterns/x264.yml b/regex_patterns/x264.yml index 70c8a19..f6ced27 100644 --- a/regex_patterns/x264.yml +++ b/regex_patterns/x264.yml @@ -1,5 +1,5 @@ name: x264 -pattern: ^(?:(?=.*\bremux\b.*\b(?:h\.?264)\b)|(?=.*\bx264\b)(?!.*\bremux\b)).*$ +pattern: ^(?:(?=.*\bx264\b)(?!.*\bremux\b)).*$ description: 'An open source encoder that produces H.264 videos. ' tags: - Encoder @@ -25,14 +25,12 @@ tests: matchedContent: Life of Pi 2012 1080p BluRay x264-SPARKS matchedGroups: [] passes: true -- expected: true +- expected: false id: 3 input: Movie.Title.2023.1080p.BluRay.REMUX.h.264.DTS-HD.MA.5.1-GRP lastRun: '2025-02-08T23:38:43.613169' - matchSpan: - end: 59 - start: 0 - matchedContent: Movie.Title.2023.1080p.BluRay.REMUX.h.264.DTS-HD.MA.5.1-GRP + matchSpan: null + matchedContent: null matchedGroups: [] passes: true - expected: true