Quote:
Originally Posted by Starson17
Which regex worked for you? This one:
(?P<isbn>.+)
or this one:
(?P<isbn>.+?)\.(?P<title>.+)
?
I tested the first one and couldn't get it to pull ISBN only. The second one works fine for books with a title separated from ISBN by dot/period/decimal. I tested on my machine running Calibre from source, and right now the source is heavily modified. I vaguely recall getting an ISBN regex to work before, but wasn't sure if it also pulled title or author. Can you get the first regex to grab the ISBN from frulex's sample filenames?
|
OK, finally it's working (the first one) perfectly, I tested it on a couple of books. The only problem is that I already added a lot of books while using the second one, so I will have to delete all these books and add them again using the first one. But, thanks very much again to everyone, it's been really helpful...