View Single Post
Old 01-20-2010, 08:07 PM   #1
pbj
Junior Member
pbj began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2010
Device: none
regular expression - importing vs testing

My books are on my hard drive in the format:

Author - Series - Title

I would like to import them into calibre like:

author = Author
title = Series - Title

in v0.6.34, in preferences.add/save, i have changed the regular expression to:

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

i test it with my file names, and it works as intended.

so i go back to add books, on the main menus, and choose my directory.

all the books import like:

author = Author
title = Title

i would expect the import engine to produce the same results as the test button did.

have i done this correctly?

thanks
pbj is offline   Reply With Quote