From 9d8f695e5ab7a88fad7d971a9493749b53db3075 Mon Sep 17 00:00:00 2001 From: echel0n Date: Wed, 25 Jun 2014 22:03:26 -0700 Subject: [PATCH] Reverted previous changes made to regexes as no longer needed and started to cause false matches for h264 as a season and episode number result. --- sickbeard/name_parser/regexes.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sickbeard/name_parser/regexes.py b/sickbeard/name_parser/regexes.py index 3256d62b..62b16bc4 100644 --- a/sickbeard/name_parser/regexes.py +++ b/sickbeard/name_parser/regexes.py @@ -167,7 +167,7 @@ normal_regexes = {'normal':[ # 01 - Ep Name ''' ^((?P.+?)(?:[. _-]{2,}|[. _]))? # Show_Name and separator - (e)?(?P\d{1,2}) # 02 + (?P\d{1,2}) # 02 (?:-(?P\d{1,2}))* # 02 [. _-]+((?P.+?) # Source_Quality_Etc- ((?.+?)[. _-]+ # Show_Name and separator - (s)?(?P\d{1,2}) # 1 - (e)?(?P\d{2}) # 02 and separator + (?P\d{1,2}) # 1 + (?P\d{2}) # 02 and separator ([. _-]+(?P(?!\d{3}[. _-]+)[^-]+) # Source_Quality_Etc- (-(?P[^- ]+([. _-]\[.*\])?))?)?$ # Group '''),