View Single Post
Old 09-08-2012, 04:26 PM   #2
kanigetts
Junior Member
kanigetts began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2012
Device: Kindle 4
I figured out a fix just after posting. If I remove the space in the first part of the regular expression, it will take a one word series name in the first position without screwing up the Title extraction. Why this works and why it's only needed in the first instance and only for Add Books and not Test, I don't understand, but at least I can move on.

Works for one word series: (?P<series>[^_-]+)-?\s*
Doesn't work for one word series: (?P<series>[^_-]+) -?\s*
kanigetts is offline   Reply With Quote