View Single Post
Old 11-12-2010, 10:57 AM   #16
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by grandin View Post
Starson17 - Thanks for the regex! Worked perfectly.!
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?
Starson17 is offline   Reply With Quote