note 63271 deleted from function.preg-replace by colder
| From: | colder@php.net | Date: | Mon, 18 Jun 2007 20:00:18 +0000 |
| Subject: | note 63271 deleted from function.preg-replace by colder | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-127691@lists.php.net to get a copy of this message | ||
Note Submitter: c_stewart0a at yahoo dot com
----
In response to elaineseery at hotmail dot com
[quote]if you're new to this function, and getting an error like 'delimiter must not
alphanumeric backslash ...[/quote]
Note that if you use arrays for search and replace then you will want to quote your searching
expression with / or you will get this error.
However, if you use a single string to search and replace then you will not recieve this error if
you do not quote your regular expression in /