note 104834 added to regexp.reference.onlyonce
| From: | Anonymous at osu1 dot php dot net | Date: | Sun, 10 Jul 2011 09:57:53 +0000 |
| Subject: | note 104834 added to regexp.reference.onlyonce | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-181398@lists.php.net to get a copy of this message | ||
True. I tried
preg_match("#((?>\D+)|<\d+>)*[!?]#", "aaaaaaaaaa!", $matches);
echo '<textarea style="width:500px; height:500px;">';
print_r($matches);
echo '</textarea>';
Output:
Array
(
[0] => !
)
----
Server IP: 69.147.83.197
Probable Submitter: 86.96.228.93 (proxied: 2.51.30.124)
----
Manual Page -- http://www.php.net/manual/en/regexp.reference.onlyonce.php
Edit -- https://master.php.net/note/edit/104834
Del: integrated -- https://master.php.net/note/delete/104834/integrated
Del: useless -- https://master.php.net/note/delete/104834/useless
Del: bad code -- https://master.php.net/note/delete/104834/bad+code
Del: spam -- https://master.php.net/note/delete/104834/spam
Del: non-english -- https://master.php.net/note/delete/104834/non-english
Del: in docs -- https://master.php.net/note/delete/104834/in+docs
Del: other reasons-- https://master.php.net/note/delete/104834
Reject -- https://master.php.net/note/reject/104834
Search -- https://master.php.net/manage/user-notes.php