note 103497 rejected from function.preg-match by danbrown
| From: | danbrown@php.net | Date: | Fri, 15 Apr 2011 19:25:42 +0000 |
| Subject: | note 103497 rejected from function.preg-match by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-178899@lists.php.net to get a copy of this message | ||
Note Submitter: php at quik-tek dot com
----
Is there documentation on using non / characters to declare a pattern?
Just spent an hour looking a regular expression created with "@<regexp>@" because it
searches for the / character and the code's writer probably did not want to escape the code.
Did some more test and I was able to create a functioning pattern using a pair of +, !, and various
symbols.