On Tue, 10 Aug 2004 18:51:43 +0200, Marten Lehmann <[EMAIL PROTECTED]> 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-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php