View Single Post
Old 03-10-2012, 10:54 AM   #2
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
Kind of hard to do this with typographic quotes (or even straight quotes) with any sort of automated/logical approach. Since there's no difference between an apostrophe and a closing single quote (and other special cases where opening quotes don't always have a matching closing quote), it's not really very feasible with a regex expression (especially when any F&R—that's to be trusted, anyway—must take place in Code (html) view).

Finding a regexp that does this accurately in all cases will be very unlikely. An external program/script that used heuristic logic may stand a better chance, but will probably be just as hard to come across (or write).

Last edited by DiapDealer; 03-10-2012 at 10:58 AM.
DiapDealer is offline   Reply With Quote