On 1/12/2011 10:55 AM, Daniel Convissor wrote:
On Wed, Jan 12, 2011 at 10:00:49AM -0500, justin wrote:

     /<p(\s+[^>]*)?>.*?<\/p>/s

Uh, what's the ? doing there after the .* in the middle?  The .* is all
that's needed.

Ungreedy match.

Dan

_______________________________________________
New York PHP Users Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

http://www.nyphp.org/Show-Participation

Reply via email to