2012-04-04, 07:18
I've been at this all night and I thought I had it working perfectly, until I ran into a series title that actually has numbers in its name.
TV Shows\Hidamari Sketch\Season 2\Hidamari Sketch x365 - Ep 01.mkv.
It seems to fail because the regex thinks that it's episode 365, and the scraper can't find that episode number on the website.
I'm using the following regex that works perfectly if the name doesn't have numbers in it:
<regexp>Season[\._ ]([0-9]+)[\\/][^0-9]+[([0-9]+)[^\\/]*</regexp>
How might I modify this to account for the fact that I know that the episode # will always be preceded by "Ep", with a trailing space?
Thanks.
TV Shows\Hidamari Sketch\Season 2\Hidamari Sketch x365 - Ep 01.mkv.
It seems to fail because the regex thinks that it's episode 365, and the scraper can't find that episode number on the website.
I'm using the following regex that works perfectly if the name doesn't have numbers in it:
<regexp>Season[\._ ]([0-9]+)[\\/][^0-9]+[([0-9]+)[^\\/]*</regexp>
How might I modify this to account for the fact that I know that the episode # will always be preceded by "Ep", with a trailing space?
Thanks.