note 104507 added to regexp.reference.onlyonce
| From: | northhero at gmail dot com | Date: | Sun, 19 Jun 2011 08:54:29 +0000 |
| Subject: | note 104507 added to regexp.reference.onlyonce | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-180665@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/104507
Del: integrated -- https://master.php.net/note/delete/104507/integrated
Del: useless -- https://master.php.net/note/delete/104507/useless
Del: bad code -- https://master.php.net/note/delete/104507/bad+code
Del: spam -- https://master.php.net/note/delete/104507/spam
Del: non-english -- https://master.php.net/note/delete/104507/non-english
Del: in docs -- https://master.php.net/note/delete/104507/in+docs
Del: other reasons-- https://master.php.net/note/delete/104507
Reject -- https://master.php.net/note/reject/104507
Search -- https://master.php.net/manage/user-notes.php