View Single Post
Old 12-30-2011, 02:05 PM   #148
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,230
Karma: 5495470
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by DASTRAL View Post
Yeah, i ended up with the series in the title because i can't write a conditional regular expression

When importing books, using just the file name for metadata :
(?P<author>[^-]+) - (?P<title>.*) works only if there is no series
(?P<author>[^-]+) - (?P<series>[^-]+) - (?P<title>.*) works only with series.

Nothing i've tried can identify "2 fields=no series" "3 fields=series) to work with :
Warhammer 40K - Atlas Infernal.rtf
Warhammer 40K - Bastion Wars 01 - Emperor's Mercy.rtf
I can't write a decent one either

I just fix them later with the bulk Metadata Search and Replace where WYSIWYG before you commit
theducks is offline   Reply With Quote