View Single Post
Old 07-02-2020, 02:29 AM   #4254
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,160
Karma: 77304081
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
This might fall into the scope of "regex stupidity" again, but I have a frequently-updated fanfic that uses five spaces (not a tab) to indent the paragraphs in the summary/description. It looks bad in the book details panel and I got tired of manually fixing it every time the fic updated, so:

Code:
replace_metadata:
 description=>(\s\s\s\s\s)=>
The regex tester says this should work, but it didn't. I tested and the description replace works for other parts of the summary text, just not the spaces. Any suggestions?

Last edited by ownedbycats; 07-02-2020 at 02:33 AM.
ownedbycats is offline   Reply With Quote