View Single Post
Old 10-24-2009, 04:29 PM   #2
stustaff
Wizard
stustaff knows what time it isstustaff knows what time it isstustaff knows what time it isstustaff knows what time it isstustaff knows what time it isstustaff knows what time it isstustaff knows what time it isstustaff knows what time it isstustaff knows what time it isstustaff knows what time it isstustaff knows what time it is
 
Posts: 1,055
Karma: 2110
Join Date: Nov 2007
Location: Derbyshire UK
Device: sony reader PRS505 and 600
Ok I had a look around and found this

(?P<author>[^_-]+) -?\s*(?P<series>[^_0-9-]*)(?P<series_index>[0-9]*)\s*-\s*(?P<title>[^_].+) ?

which does pretty much everything I want But the title is getting messed up

eg
Eoin Coifer - Artemis Fowl 01 - Artemis fowl

gives the book a title of 'artemis' everything else is spot on.

hmm puzzled?

and Eoin Coifer - Artemis Fowl 02 - The Artic Incident
gives me a title of 'The Artic'

Last edited by stustaff; 10-24-2009 at 04:33 PM.
stustaff is offline   Reply With Quote