I would think the change to move the global flags to the front of the expression is something that should probably happen anyway. That way it will work with whatever flavor of python regex is used. I'll leave it up to the dev to make whatever changes they deem necessary, but in the meantime, changing "import re" to "import regex as re" at the top of HTMLProcessor.py might be the quickest/easiest way for users to get back up and running in the meantime.
I found one of my own epubs where the plugin was hanging and changing that one line allowed the plugin to run to completion. It even corrected 7 instances of apostrophes being in the "wrong" direction.
Last edited by DiapDealer; 12-11-2024 at 01:41 PM.
|