Fixed up regex patterns for better matching of sports events

This commit is contained in:
echel0n 2014-04-30 08:06:53 -07:00
parent 4337e674a9
commit 8ee477085e

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}.+))
((?>[. _-]+\d{2})(.*?)(?>\d{4}[. _-]+))?
([. _-]*(?P<extra_info>.+?)((?<![. _-])
(?<!WEB)-(?P<release_group>[^- ]+))?)?$
'''
),
]