note 104506 deleted from regexp.reference.onlyonce by danbrown
| From: | danbrown@php.net | Date: | Mon, 20 Jun 2011 15:36:29 +0000 |
| Subject: | note 104506 deleted from regexp.reference.onlyonce by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-180783@lists.php.net to get a copy of this message | ||
Note Submitter: northhero at gmail dot com
----
The following two patterns are not equal to each other:
(\D+|<\d+>)*[!?] and ((?>\D+)|<\d+>)*[!?]
For example
The former matches the string of 'aaaaaaaaaaaa!', but the later does NOT.