The text in the FTS db column being searched is not html. Text.
Your regex is highly complex, likely causing endless repetitive backtracking by the re module in Python. Hence, it will be slow.
Remember too that Python re's quantifiers are 'greedy' by default.
See the tooltips re: IGNORECASE, MULTILINE and DOTALL.
You are responsible for all formatting using standard Calibre tools.
DaltonST
Last edited by DaltonST; 11-07-2022 at 01:26 PM.
|