View Single Post
Old 06-02-2012, 08:06 AM   #1
ccsrsj
Junior Member
ccsrsj began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2012
Device: yes
Post Square brackets in filename breaking Calibre Regex?

I have a bunch of books with names such as:

Book Title [ISBN-0123456789].pdf

I've created a simple RegEx that should work

(?P<title>.+)\[ISBN-(?P<isbn>\d+)\].+

It works in various web Regex testers (such as http://gskinner.com/RegExr/)
but not in Calibre, any ideas why not?
ccsrsj is offline   Reply With Quote