note 120510 added to regexp.reference.comments
| From: | asamaru at asamaru dot net | Date: | Tue, 24 Jan 2017 00:00:53 +0000 |
| Subject: | note 120510 added to regexp.reference.comments | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-208745@lists.php.net to get a copy of this message | ||
<?php
$string = 'test';
echo preg_match('/te(?# comments)st/', $string) . "\n";
echo preg_match('/te#~~~~
st/', $string) . "\n";
echo preg_match('/te#~~~~
st/x', $string) . "\n";
// result
// 1
// 0
// 1
----
Server IP: 72.52.91.14
Probable Submitter: 61.104.227.196
----
Manual Page -- http://php.net/manual/en/regexp.reference.comments.php
Edit -- https://master.php.net/note/edit/120510
Del: integrated -- https://master.php.net/note/delete/120510/integrated
Del: useless -- https://master.php.net/note/delete/120510/useless
Del: bad code -- https://master.php.net/note/delete/120510/bad+code
Del: spam -- https://master.php.net/note/delete/120510/spam
Del: non-english -- https://master.php.net/note/delete/120510/non-english
Del: in docs -- https://master.php.net/note/delete/120510/in+docs
Del: other reasons-- https://master.php.net/note/delete/120510
Reject -- https://master.php.net/note/reject/120510
Search -- https://master.php.net/manage/user-notes.php