This regex does the same thing, as far as I can figure:
(?P<author>.+?) - ((?P<series>.+?) (?P<series_index>[0-9]+) - )?(?P<title>.+)
They both detect a series name and index and read them properly whether they're there or not. But it still has the comma problem in the author's name.
|