On 10 Aug 2004 16:53:59 -0000, in php.general you wrote:
Yes. preg_replace is greedy by default.
Err, global, that is (although it's also greedy per default, but then again, that's also the case for ereg-functions and perl)
<snip>
Regular expressions in Perl are not greedy by default. You have to specify the 'g' for it to be greedy.
-- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED]
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php