note 21720 added to function.preg-replace
| From: | 2phazt_at_web.de@php.net | Date: | Fri, 24 May 2002 08:46:49 +0000 |
| Subject: | note 21720 added to function.preg-replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-30971@lists.php.net to get a copy of this message | ||
notice that urls can contain non-word characters too.
They are often used in the querystring.
So add [];, and so on in the last pattern of your preg_replace.
--
http://www.php.net/manual/en/function.preg-replace.php
http://master.php.net/manage/user-notes.php?action=edit+21720
http://master.php.net/manage/user-notes.php?action=delete+21720
http://master.php.net/manage/user-notes.php?action=reject+21720