View Single Post
Old 08-25-2015, 09:54 AM   #9
LadyKate
Fanatic
LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.
 
Posts: 515
Karma: 1470724
Join Date: Jul 2013
Location: Quebec CA
Device: android 4 (samsung tablet and asus tablet)
Quote:
Originally Posted by nvcleemp View Post
OK, I thought I had solved it, but for some reason I started Calibre up today and wanted to check the regexp before adding the next folder, but again everything ends up in the Title field.

This is the regexp: (?P<author>.+)--(?P<title>.+) \((?P<publisher>.+) (?P<published>[0-9])\)

This is the test file name: Agaian S.S.--Hadamard Matrices and Their Applications (Springer 1985).pdf
Doesn't the . need to be escaped? I thought the regex would see the . as an "all".
LadyKate is offline   Reply With Quote