User(s) browsing this thread: 1 Guest(s)
|
NFO to NMJ converter - 1.4.0.13 (06/01/2012)
|
|
03-10-2011, 05:35 PM
(This post was last modified: 03-10-2011 09:58 PM by ro_n.)
|
|||
|
|||
RE: NFO to NMJ converter - 1.2.0.27 (21/01/2011) - 1.3.0.24 beta (04/03/2011)
(03-10-2011 05:01 PM)mfsav2 Wrote: ... Hi mf2, I think, you would loose your named capturing groups <part1> and <part2>, because it's always captured to <parts>. And, since "-" and "CD" are optionals, I don't know how it should handle something like "foo - CD1.iso" But thats only by reading, didn't try it in Expresso. Update: It handles "foo - CD1" badly as movie: "foo -", but a slight change to the RegEx fixes that: ^(?<movie>.*?)(?: *(?:-|CD|part|DVD|disc|disk) *(?<parts>0*[1-9])?)+\.(?<ext>[^.]*)$ Still, the behaviour is different regarding the <parts> capture. If you depend on <part1> and <part2> the new one wouldn't help either. If you don't depend on <part1> and <part2> or recode accordingly, this new RegEx looks very elegant. ![]() Maybe chudler could calm down your "Series Episodes" RegEx monster, too? ![]() Br, ro_n |
|||
|
« Next Oldest | Next Newest »
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
A-400 [13 May 2013]








![[+]](images/collapse_collapsed.gif)