View Single Post
Old 02-23-2012, 03:58 PM   #6
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,854
Karma: 207000000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
It's pretty hard to fine-tune an expression's (non)greediness in 0.4.2 when the "Minimal Matching" check-box is the only method of control you have over it.

In 0.5.x and higher, I'd use something like:
Code:
<p(.*?)?>.*?</p>(?=(\s+)?<div)

Last edited by DiapDealer; 02-23-2012 at 04:03 PM.
DiapDealer is offline   Reply With Quote