I thought about that previously, but based on earlier feedback by others, it does not appear to be an often used feature outside of the built-in case provided by calibre. To make it useful you need to pass along storage to act as its memory and a whole bunch of internal environment info, which would be a pain to add and keep, given how easy a basic plugin can be written.
And uppercasing/lowercasing single letters in words is doable with regex right now so a regex function should not be needed to handle that and of course doing this in a plugin is easy as well.
But I am open to adding it, if others feel it is an important and often used feature. I just do not want add features just to duplicate what can be done now in calibre via writing python regex functions and in Sigil by writing and running a plugin.
Quote:
Originally Posted by Turtle91
Is it possible to incorporate something similar to Calibre's "regex-function" in the find/replace. It seems to add a huge range of options without requiring individual plugins.
The option I have my eye on right now is being able to use a find/replace to convert strings to different case types (eg Sentence case, or Title Case - yes I know you can already do lower or upper case).
Thanks!
|