Yes, it was one of the built in ones that Calibre supplies
Quote:
Automatically fixing the case of headings in the document
Here, we will leverage one of the builtin functions in the editor to automatically change the case of all text inside heading tags to title case:
Find expression: <([Hh][1-6])[^>]*>.+?</\1>
For the function, simply choose the Title-case text (ignore tags) builtin function. The will change titles that look like: <h1>some TITLE</h1> to <h1>Some Title</h1>. It will work even if there are other HTML tags inside the heading tags.
|
Don't know why. If I look at the 'code' for the function, I see the attached