Hi!
I know what a regular expression is, and GENERALLY how to use them. I don't know Python, but I read the link. What I can't figure out, is how to parse a filename into Calibre metadata. I read the tutorial, it was not too helpful. I clicked the checkbox that made me hope that Calibe would use the filename.
I am trying to parse filenames like:
Code:
tb-2099 California microbial life (john adams) 1999
On Various online python tools, I can verify the expression
Code:
(.*\d\s)(.*)\s\((j.*)\)\s(\d*).*
But when I try to use symbolic group name like
Code:
(.*\d\s)(.*)\s\((?P<author>.*)\)\s(\d*).*
, then I get nothing from the test button in the "Adding Books" dialog.
How do I really extract the metadata from a filename?
Thanks so much!