1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-18 07:15:13 -05:00

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.

This commit is contained in:
echel0n 2014-06-25 22:03:26 -07:00
parent 12ee35a5e6
commit 9d8f695e5a

View File

@ -167,7 +167,7 @@ normal_regexes = {'normal':[
# 01 - Ep Name # 01 - Ep Name
''' '''
^((?P<series_name>.+?)(?:[. _-]{2,}|[. _]))? # Show_Name and separator ^((?P<series_name>.+?)(?:[. _-]{2,}|[. _]))? # Show_Name and separator
(e)?(?P<ep_num>\d{1,2}) # 02 (?P<ep_num>\d{1,2}) # 02
(?:-(?P<extra_ep_num>\d{1,2}))* # 02 (?:-(?P<extra_ep_num>\d{1,2}))* # 02
[. _-]+((?P<extra_info>.+?) # Source_Quality_Etc- [. _-]+((?P<extra_info>.+?) # Source_Quality_Etc-
((?<![. _-])(?<!WEB) # Make sure this is really the release group ((?<![. _-])(?<!WEB) # Make sure this is really the release group
@ -179,8 +179,8 @@ normal_regexes = {'normal':[
# Show.Name.102.Source.Quality.Etc-Group # Show.Name.102.Source.Quality.Etc-Group
''' '''
^(?P<series_name>.+?)[. _-]+ # Show_Name and separator ^(?P<series_name>.+?)[. _-]+ # Show_Name and separator
(s)?(?P<season_num>\d{1,2}) # 1 (?P<season_num>\d{1,2}) # 1
(e)?(?P<ep_num>\d{2}) # 02 and separator (?P<ep_num>\d{2}) # 02 and separator
([. _-]+(?P<extra_info>(?!\d{3}[. _-]+)[^-]+) # Source_Quality_Etc- ([. _-]+(?P<extra_info>(?!\d{3}[. _-]+)[^-]+) # Source_Quality_Etc-
(-(?P<release_group>[^- ]+([. _-]\[.*\])?))?)?$ # Group (-(?P<release_group>[^- ]+([. _-]\[.*\])?))?)?$ # Group
'''), '''),