diff --git a/Stream-Mapparr/fuzzy_matcher.py b/Stream-Mapparr/fuzzy_matcher.py index b365393..b288aff 100644 --- a/Stream-Mapparr/fuzzy_matcher.py +++ b/Stream-Mapparr/fuzzy_matcher.py @@ -179,7 +179,7 @@ class FuzzyMatcher: # Remove "Cinemax" prefix if requested (for channels containing "max") if remove_cinemax: - name = re.sub(r'\bCinemax\s+', '', name, flags=re.IGNORECASE) + name = re.sub(r'\bCinemax\b\s*', '', name, flags=re.IGNORECASE) # Apply hardcoded ignore patterns only if remove_quality_tags is True if remove_quality_tags: