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?