DiapDealer, you are a regex genius. I tested your fix in EditPad Pro and it works fine now. As someone who has tried to comprehend regex on multiple occasions, I marvel at your ability to not only understand it but to understand and work with multiple versions of it.
Why would there be so many flavors of regex, and is one method inherently better or more versatile or powerful than the other?
I will continue to use sigil for any extensive TOC reconstruction, creation or transformations as it has a more suitable interface for those jobs than a basic text editor. But sometimes all I need to do is a simple change to title case from all caps, and it's much more efficient to do it using EditPad Pro via calibre's tweak epub feature. So, many thanks for your help!