mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-01 00:43:37 +00:00
Fixed up regex patterns for better matching of sports events
This commit is contained in:
parent
4337e674a9
commit
8ee477085e
1 changed files with 4 additions and 3 deletions
|
@ -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>[^- ]+))?)?$
|
||||
'''
|
||||
),
|
||||
]
|
Loading…
Reference in a new issue