View Single Post
Old 01-12-2020, 07:56 PM   #1
wjBLqf-_9
Connoisseur
wjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 57
Karma: 12544
Join Date: Jul 2018
Device: None
Feature Request: regex processing of content ([\x80-\xff])

I have two feature requests :-)

Feature Request #1
Add a big scary EXPERT tab to the far left within convert book window... on this tab, include a "notepad++ like" capable advanced regex search/replace processing to the original file formats [only formats where applicable in npp] such that when converting compatible file types, said regex search/replace also occur.

(Perhaps include in the convert job logs the names of files that matched regex when converting?)

Feature Request #2
Similar to Feature Request #1 above. Add a separate advanced content regex tab to the bulk-edit window native Calibre regex search/replace of the content of the file types that are compatible with text editors (such as notepad++)?


Imagine I can select twenty three titles that need to be regex fixed... without the export/delete/import process?


Why I ask for this:
I recently ran into a problem that could only be solved by regex search/replace of original content (text file format... although this could also apply to html format as well).



Problem: ENF (among other plugins) stopped working reliably with

Solution:
1) Remove all converted formats of affected titles
2) Export all affected titles in their original TXT files
3) Remove all affected titles from library
4) Notepad++ regex search for "([\x80-\xff])" and replace with <<blank>> against directories w/ exproted text files
5) Import fixed txt files
6) Reconvert txt files to epub
7) Re-run plugins against newly reconverted epub files
wjBLqf-_9 is offline   Reply With Quote