View Single Post
Old 09-17-2010, 10:06 AM   #16
pckopp
Enthusiast
pckopp began at the beginning.
 
Posts: 32
Karma: 44
Join Date: Jul 2010
Location: Seneca, SC
Device: Kindle, eReader
I should read _before_ typing. This works:

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

EDIT: Works perfectly in the test box but not in the actual Add Books process. Acts like the original title - author expression. Huh?

Quote:
Originally Posted by pckopp View Post
I'm one of the users for whom RE is a barely understood concept, so can I just ask a question related to adding books?

My current expression: (?P<title>.+) - (?P<author>[^_]+)

works great. But sometimes I have a filename that includes the series info at the beginning in brackets. Like this:

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

I would like the text between the brackets to be in the Series box.

Thanks!

Last edited by pckopp; 09-17-2010 at 10:27 AM.
pckopp is offline   Reply With Quote