View Single Post
Old 09-17-2010, 11:29 AM   #70
pckopp
Enthusiast
pckopp began at the beginning.
 
Posts: 32
Karma: 44
Join Date: Jul 2010
Location: Seneca, SC
Device: Kindle, eReader
This regular expression:

[[](?P<series>.+)[]] (?P<title>.+) - (?P<author>[^_]+)

tests perfectly against this filename:

[Instrumentality Of Mankind] Golden the Ship Was Oh! Oh! Oh! - Cordwainer Smith.epub

title = Golden the Ship Was Oh! Oh! Oh!
author = Cordwainer Smith
series = Instrumentality Of Mankind

but when adding the file, it creates

title = [Instrumentality Of Mankind] Golden the Ship Was Oh! Oh! Oh!
author = Cordwainer Smith
series = Instrumentality Of Mankind

Appreciate any help. Thanks!
pckopp is offline