View Single Post
Old 10-28-2011, 02:12 AM   #13
salines
Zealot
salines will become famous soon enoughsalines will become famous soon enoughsalines will become famous soon enoughsalines will become famous soon enoughsalines will become famous soon enoughsalines will become famous soon enoughsalines will become famous soon enough
 
Posts: 127
Karma: 744
Join Date: Oct 2011
Device: Sony PRS-T1
Quote:
or with space as whitespace:
(?P<author>.+?)\s-\s(??P<series>.+?)\s(??P<series_index>\d+(?:\. \d+)?)\s-\s)?)?(?P<title>.+)
"Fielding, Joy-ebbes - serie 01 - Tanz, Püppchen, tanz.pdf"
Works fine. Thank you!

But for
"Fielding, Joy-ebbes - Tanz, Püppchen, tanz.pdf"
it doesn't work.
author is ok: "Fielding, Joy-ebbes"
-> Series is here "Tanz,"
title is: "Püppchen, tanz!

Other question:
Should I switch the used regex if I add book for series and none series?
How can I switch the used regex for adding books fast?
salines is offline   Reply With Quote