View Single Post
Old 04-17-2011, 02:01 PM   #14
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,626
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I'm a little leery of the first two regexes.

Deleting anything inside parentheses will break title searching for titles that have parentheses as part of their names.

Also why delete digts,digits?

EDIT: I'm guessing you meant the second regex to be: (r'(\d+),(\d+)', r'\1\2')

Last edited by kovidgoyal; 04-17-2011 at 02:07 PM.
kovidgoyal is offline   Reply With Quote