View Single Post
Old 02-05-2012, 08:37 AM   #21
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,735
Karma: 206739468
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by meme
Replacing in Book View is also unpredictable due to the way the code converts from html to plain text and should be avoided,
It's not unpredictable anymore. It just flat-out eats large random chunks of your text—each and every time you attempt it (F&R in BV). It very predictably... just plain doesn't work at all anymore.

Quote:
which will soon be taken care of for you.
Glad to hear it.

So who's got the best regex for capturing all of the text (including unicode) between two normal (straight) double-quotes into a backreference(s)—all the while ignoring the quoted content (attributes) inside of html tags?

It doesn't have to be perfect (I'm used to manually massaging the results), but bulk replacing straight quotes with curly-quotes was one of the only situations where I attempted to use F&R in BV (where the current document was always small in size).

Last edited by DiapDealer; 02-05-2012 at 10:50 AM.
DiapDealer is offline   Reply With Quote