note 51397 deleted from function.preg-quote by colder
| From: | colder@php.net | Date: | Mon, 18 Jun 2007 18:38:07 +0000 |
| Subject: | note 51397 deleted from function.preg-quote by colder | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-127644@lists.php.net to get a copy of this message | ||
Note Submitter: me@localhost
----
Re rdude at fuzzelfish dot com:
You can specify a delimiter that will be escaped, too.
preg_quote('abc/', '/') does the job.