diff --git a/sickbeard/helpers.py b/sickbeard/helpers.py index 8bf157ab..8cd6df50 100644 --- a/sickbeard/helpers.py +++ b/sickbeard/helpers.py @@ -1335,4 +1335,4 @@ if __name__ == '__main__': doctest.testmod() def remove_article(text=''): - return re.sub(r'(?i)/^(?:(?:A(?!\s+to)n?)|The)\s(\w)', r'\1', text) + return re.sub(r'(?i)^(?:(?:A(?!\s+to)n?)|The)\s(\w)', r'\1', text)