note 104782 deleted from function.preg-quote by danbrown
| From: | danbrown@php.net | Date: | Thu, 07 Jul 2011 13:27:00 +0000 |
| Subject: | note 104782 deleted from function.preg-quote by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-181319@lists.php.net to get a copy of this message | ||
Note Submitter: bizzigul
----
@ krishoog at gmail dot com:
wow, it's been a while.
you're right, but
<?php preg_match('
foo/bar/',$somevar); ?>
is more readable, and easier to maintain than
<?php preg_match('/foo\/bar\//',$somevar); ?>