Skip to content

Commit

Permalink
Fixed up the season-only regex to match a bit of a wider range of names
Browse files Browse the repository at this point in the history
  • Loading branch information
midgetspy committed Oct 31, 2010
1 parent 938231a commit fb118ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/tvnamer/config_defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,9 @@
[^\\/]*$''',

# scene.name.s02.etc (whole season, episode = empty list)
'''^((?P<seriesname>.+?)[ \._])?
[Ss](?P<seasonnumberonly>[0-9]+)[\.\_ ]+?
((?P<episodename>.+?)(\.(?P<ext>\w{3,4}))?$)? # get the episode name & extension if it is available
'''^(?P<seriesname>.+?)[ \._-]*
[Ss](eason[ \._-]+)?(?P<seasonnumberonly>\d+)[ \._-]*
((?P<episodename>.*?)(\.(?P<ext>\w{3,4}))?$)?
[^\/]*$''',

# Show - Episode 9999 [S 12 - Ep 131] - etc
Expand Down

0 comments on commit fb118ea

Please sign in to comment.