View Single Post
Old 12-14-2015, 09:39 AM   #15
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,426
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Thom* View Post
Wouldn't it be neat if you could call the rename function, or the split function, or any other function from a regex-function. Then this would be flexible and easily accomplished.
And that way exists, it is called plugins. http://manual.calibre-ebook.com/crea...t-book-plugins

A regex function operates on matched text, in the context of a single file at a time, it does not make sense to do arbitrary processing from within it.
kovidgoyal is offline   Reply With Quote