note 104506 added to regexp.reference.onlyonce
| From: | northhero at gmail dot com | Date: | Sun, 19 Jun 2011 08:29:57 +0000 |
| Subject: | note 104506 added to regexp.reference.onlyonce | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-180664@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 69.147.83.197
Probable Submitter: 203.152.218.14
----
Manual Page -- http://www.php.net/manual/en/regexp.reference.onlyonce.php
Edit -- https://master.php.net/note/edit/104506
Del: integrated -- https://master.php.net/note/delete/104506/integrated
Del: useless -- https://master.php.net/note/delete/104506/useless
Del: bad code -- https://master.php.net/note/delete/104506/bad+code
Del: spam -- https://master.php.net/note/delete/104506/spam
Del: non-english -- https://master.php.net/note/delete/104506/non-english
Del: in docs -- https://master.php.net/note/delete/104506/in+docs
Del: other reasons-- https://master.php.net/note/delete/104506
Reject -- https://master.php.net/note/reject/104506
Search -- https://master.php.net/manage/user-notes.php