From 42b11cd00015be6ab228d2b4ba8d74d571d14936 Mon Sep 17 00:00:00 2001 From: echel0n Date: Thu, 1 May 2014 19:14:10 -0700 Subject: [PATCH] Fixed up sports regex matching pattern --- sickbeard/name_parser/regexes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sickbeard/name_parser/regexes.py b/sickbeard/name_parser/regexes.py index ca8a3c64..3df9fdab 100644 --- a/sickbeard/name_parser/regexes.py +++ b/sickbeard/name_parser/regexes.py @@ -192,7 +192,8 @@ sports_regexs = [ # Sports.Name.2010.11.23.Source.Quality.Etc-Group # Sports.Name.23rd.Nov.2010.Source.Quality.Etc-Group ''' - ^(?P.*?(UEFA|MLB|ESPN|WWE|MMA|UFC|TNA|EPL|NASCAR|NBA|NFL|NHL|NRL|PGA|SUPER LEAGUE|FORMULA|FIFA|NETBALL|MOTOGP).*?)[. _-]+ + ^(?P(UEFA|MLB|ESPN|WWE|MMA|UFC|TNA|EPL|NASCAR|NBA|NFL|NHL|NRL|PGA|SUPER LEAGUE|FORMULA|FIFA|NETBALL|MOTOGP))[. _-]+ + (P.*?)[. _-]+ (?P(\d{4}[. _-]+\d{1,2}[. _-]+\d{1,2})|(\d{1,2}\w{2}[. _-]+\w+[. _-]+\d{4})) [. _-]*((?P.+?)((?[^- ]+))?)?$