From faa3cc8fdf6385e848fff1819dc61cc87bdbc55d Mon Sep 17 00:00:00 2001 From: Alexandre Beloin Date: Wed, 21 Jan 2015 15:29:16 -0500 Subject: [PATCH] Fix 'Sort with "The", "A", "An"' on dropdown in displayShow not working. --- sickbeard/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)