- April 9, 2008
- 11
- 2
- 41
- Home Country
- United Kingdom
Stargate Universe\Season 1\Episode 01-02.avi should parse ok, it seems to for me.
I have had loads of problems with parsing in the past and i'm not 100% with regex.
I myself use this naming convention:
<series>\Season <season>\<series>.s<season>e<episode>-<episode2>.<title>.<ext>
e.g. \Stargate Universe\Season 1\stargate.universe.s01e01-02.air.mkv
and this is what i use for the regex:
(?:.*\\.*\\)(?<series>\w.*).(?<season>\d{1,3})[e](?<episode>\d{1,3})(?(?=[-])[-](?<episode2>\d{1,3}))[.](?<title>.*)[.](?<ext>\w{2,4}(?! .*\w{2,4}))$
I find it easier to keep them all the same.
I have had loads of problems with parsing in the past and i'm not 100% with regex.
I myself use this naming convention:
<series>\Season <season>\<series>.s<season>e<episode>-<episode2>.<title>.<ext>
e.g. \Stargate Universe\Season 1\stargate.universe.s01e01-02.air.mkv
and this is what i use for the regex:
(?:.*\\.*\\)(?<series>\w.*).
I find it easier to keep them all the same.