I happily discovered both metamorphose and the options on adding books in preferences, and i found one that would fit most of my library but:
For the filename:
Adams, Douglas - Hitchhiker 2 - The Restaurant at the End of the Universe.lit
(?P<author>.+) - (?P<title>.+) gives: author=Adams, Douglas - Hitchhiker 2 and title=The Restaurant at the End of the Universe
How to correct my regular expression to get only the first part before the first " - " on any book to be considered as author, and the whole rest as title?
Last edited by Nerumshah; 11-25-2011 at 02:19 PM.
Reason: unclear question
|