note 36514 deleted from pcre.pattern.modifiers by didou
| From: | didou@php.net | Date: | Mon, 13 Oct 2003 12:04:21 +0000 |
| Subject: | note 36514 deleted from pcre.pattern.modifiers by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-58531@lists.php.net to get a copy of this message | ||
Note Submitter: php@dellah.org
----
Actually, the i option has no relevance to that. Your sample code gives the same results whether you
have the i there or not.
It's really the difference between matching with no regex, or with a regex that can match
anywhere. The null regex vs the empty regex.
Though if you want a regex that never matches, /(?!)/ is nicer.