1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Updated regex patterns to accommodate sports shows with dates in them.

This commit is contained in:
echel0n 2014-04-30 08:31:12 -07:00
parent 67b7eac21b
commit e30ed48fcf

View File

@ -191,9 +191,10 @@ sports_regexs = [
# Show.Name.123.Event.23rd.Nov.2010.Source.Quality.Etc-Group
'''
^(?P<series_name>.+?)[. _-]+
(?P<sports_event_title>\d{3}[. _-]+\w+[. _-]vs[. _-]\w+)
([. _-]*(?P<extra_info>.+?)((?<![. _-])(?<!WEB)
-(?P<release_group>[^- ]+))?)?$
(?P<sports_event_title>\d{3}.+[. _-]vs[. _-].+?)[. _-]+
((?![. _-]+\d{2})(.*?)(?:\d{4}[. _-]+))?
([. _-]*(?P<extra_info>.+?)((?<![. _-])
(?<!WEB)-(?P<release_group>[^- ]+))?)?$
'''
),
]