View Single Post
Old 02-23-2012, 04: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: 29,047
Karma: 210162574
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 05:03 PM.
DiapDealer is online now   Reply With Quote