Quote:
Originally Posted by dkritso109
Bunch, Chris - Legion 01 - The Last Legion
this is what comes up in the {Series} field:
Legion 01 [1]
when i input this:
Bunch, Chris - Legion 02 - Firemask
this comes up in the {Series} field:
Legion 02 [1]
i get this "[1]" next to every series name and number. it's always "[1]".
|
The [1] means it always thinks that this is the first book in a new series.
Try this:
Code:
^((?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>.+)
It will handle all these and more:
Bunch, Chris - Legion - Firemask.pdf
Bunch, Chris - Legion 01 - Firemask.pdf
Bunch, Chris - Legion #02 - Firemask.pdf
Bunch, Chris - Firemask.pdf