View Single Post
Old 11-07-2022, 12:42 PM   #314
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
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.
DaltonST is offline   Reply With Quote