View Single Post
Old 05-02-2012, 05:21 PM   #3
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,774
Karma: 2208556
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
I would just make your author expression non greedy in case you have a hyphenated author which would fail with PeterT's expression. Just involves adding one character...
i.e. (?P<author>.+?) - (?P<title>.+)
kiwidude is offline   Reply With Quote