View Single Post
Old 04-25-2011, 03:35 AM   #2
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
Moderator Notice
Moved to appropriate sub-forum


Try this - you need to change the expression to accommodate your actual titles, which use '-' vs. '_' between items and series are optional:
Code:
(?P<author>[^-]+) - ((?P<series>[^-]+) - )?(?P<title>.+)
That should fix your second problem. Not certain why it's dropping the title components after a quote, I suspect that's a bug.
ldolse is offline   Reply With Quote