fix suggestion to regex rule (1 Viewer)

tranquil

Portal Pro
September 18, 2008
110
2
Tel Aviv
Home Country
Israel Israel
Hi,

i've managed to caputure multiple series files just by sligthly adusting one of the regex rules,

^(?<series>[^\\$]+)\\[^\\$]*?(?:s(?<season>[0-1]?\d)ep?(?<episode>\d\d)|(?<season>(?:[0-1]\d|(?<!\d)\d))x?(?<episode>\d{1,2}))(?!\d)(?:[ .-]?(?:s\k<season>e?(?<episode2>\d{2}(?!\d))|\k<season>x?(?<episode2>\d{2}(?!\d))|(?<episode2>\d\d(?!\d))|E(?<episode2>\d\d))|)[ -.]*(?<title>(?!.*sample)[^\\]*?[^\\]*?)\.(?<ext>[^.]*)$

it used to be only \d\d, which won't capture files like "Dexter 1x1" only "Dexter 1x10"

what do you think?
 

Users who are viewing this thread

Top Bottom