Quote:
Originally Posted by tinear
Actually, there are a few instances that it doesn't work to kill version numbers and formats after the title (although it is beautifully written).
Replacing (\(.*\))?$ with .+ seems to drop everything after the title.
|
In other words?
Quote:
^((?P<author>([^\-_0-9]+)(?=\s*-\s*)(?!\s*-\s*[0-9.]+)|\b))(\s*-\s*)?(\[?(?P<series>[^0-9\-]+) (- )?(?P<series_index>[0-9.]+)\]?\s*-\s*)?(?P<title>[a-zA-Z1-9 ]+).+
|
Yes. I THINK that works. What I've tested so far (including "L. Frank Baum - [Wizard of Oz 02] - The Marvelous Land of Oz[lit].lit ") has no problem.