View Single Post
Old 08-19-2014, 08:54 AM   #8
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,645
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by phossler View Post
I did a quick test, but it seems to do too much. I'd really like to just do a [Replace All] and not that to single step through 100's of Finds
Do you have the dotall box checked? Uncheck it if so. That regex finds absolutely nothing but the DOCTYPE line in several huge books I've tested it on (and the extraneous linefeed like the one in your sample). If there are no doctype statements, that regex often finds nothing in the books I try it on.

It WILL catch a lot of style stuff in the headers if you run into a lot of that (which I don't) and the "traditional" svg cover image pages, but other than that, it seems to point out the non-typical linefeeds in otherwise prettified markup fairly well for me. *shrug*

Having said that though... I'll rarely nominate ANY regex as a candidate for a Replace All action in a novel, if ever. My plan is always to reduce the step-through process to something manageable .

Last edited by DiapDealer; 08-19-2014 at 10:16 AM.
DiapDealer is offline   Reply With Quote