From e30ed48fcfbb32427a4427f54c6a88e2b276b42b Mon Sep 17 00:00:00 2001 From: echel0n Date: Wed, 30 Apr 2014 08:31:12 -0700 Subject: [PATCH] Updated regex patterns to accommodate sports shows with dates in them. --- sickbeard/name_parser/regexes.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sickbeard/name_parser/regexes.py b/sickbeard/name_parser/regexes.py index 6b769557..a83e5b60 100644 --- a/sickbeard/name_parser/regexes.py +++ b/sickbeard/name_parser/regexes.py @@ -191,9 +191,10 @@ sports_regexs = [ # Show.Name.123.Event.23rd.Nov.2010.Source.Quality.Etc-Group ''' ^(?P.+?)[. _-]+ - (?P\d{3}[. _-]+\w+[. _-]vs[. _-]\w+) - ([. _-]*(?P.+?)((?[^- ]+))?)?$ + (?P\d{3}.+[. _-]vs[. _-].+?)[. _-]+ + ((?![. _-]+\d{2})(.*?)(?:\d{4}[. _-]+))? + ([. _-]*(?P.+?)((?[^- ]+))?)?$ ''' ), ] \ No newline at end of file