View Single Post
Old 10-04-2010, 08:46 PM   #41
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by dkritso109 View Post
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
Starson17 is offline   Reply With Quote