Quote:
Originally Posted by oldcrow74
My thanks and apologies. The expression
(?P<author>.+?) - (\[(?P<series>.+?) (?P<series_index>[0-9]+)\] - )?(?P<title>.+)
did work after all. I must've missed a character when I copied and pasted. Thank you.
However, the expression
(?P<author>[^_]+?) - (?P<title>.+)
does not work. It still drops the last word of the title.
Thanks again. You guys rule.
|
An update. I actually found that this expression was still buggy for my purposes. I tried taking out the series stuff as such:
(?P<author>.+?) - (\[\] - )?(?P<title>.+)
and now it seems to work exactly the way I wanted it.
One thing I've noticed is that an expression may work when you test it in the Preferences/Advanced dialog, but work differently in real life. The expression above that I thought worked perfectly, only worked in test mode. It still garbled some of my file names when I added files to the library. I would say there's a bug somewhere.