Re: regexp appears to be faulty (DONT actually think so)

From: Date: Tue, 24 Feb 2004 15:58:13 +0000
Subject: Re: regexp appears to be faulty (DONT actually think so)
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-178715@lists.php.net to get a copy of this message
Henry Grech-Cini schrieb:
Thanks Sven, You are quite right with your "some probs" comment.
hi, think i found it. try this: <?php
    $rx = '/<fieldset.*>(.*)<\/fieldset>/iU';
?> the '/U' stands for 'ungreedy'. also note the change in the attribs-regex. hth SVEN

« previous php.general (#178715) next »