Re: preg_match_all but no preg_replace_all?

From: Date: Tue, 10 Aug 2004 17:15:06 +0000
Subject: Re: preg_match_all but no preg_replace_all?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-193330@lists.php.net to get a copy of this message
On Tue, 10 Aug 2004 18:51:43 +0200, Marten Lehmann <lehmann@cnm.de> wrote: > Hello, > > I want to be sure, that preg_replace replaces all matches. But it > doesn't accept the /g modifier. And anyhow, there's no preg_replace_all > like there is an preg_match_all. Will preg_replace replace everything by > default? > Everytyhing in the original string that matches it will replace. > Regards > Marten > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin--

« previous php.general (#193330) next »