note 42791 deleted from function.preg-replace by aidan
| From: | aidan@php.net | Date: | Sun, 22 Aug 2004 13:08:31 +0000 |
| Subject: | note 42791 deleted from function.preg-replace by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-75104@lists.php.net to get a copy of this message | ||
Note Submitter: Wendel
----
The regex parameter must be enclosed between /'s ( /regex/ ), as someone said in another
note... but the truth is that you can use any regex delimiter like perl... example:
"@regex@"
"~regex~"
"{regex}"
This is useful if your regex contains many '/'s (that are very ugly when escaping)