note 10444 added to ereg_replace
| From: | ckrempea at sfu dot ca | Date: | Wed, 03 Jan 2001 22:48:04 +0000 |
| Subject: | note 10444 added to ereg_replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9360@lists.php.net to get a copy of this message | ||
I just want to make a note to what I said above.
NOTE, that above I am using ([[:space:]]|$) in a single quote style string. For example...
'([[:space:]]|$)'
NOT a double quote string. You should escape out the dollar sign, $, if a double quote string. (Or
else PHP will try to do a variable replacement.)
http://www.php.net/manual/function.ereg-replace.php