note 101289 added to language.basic-syntax.comments
| From: | benny at bennyborn dot de | Date: | Wed, 08 Dec 2010 11:16:06 +0000 |
| Subject: | note 101289 added to language.basic-syntax.comments | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-174698@lists.php.net to get a copy of this message | ||
This regex should do the job when trying to parse comments
(\/\*(.*?)\*\/)|(^|\s+)\/\/(.*?)(\n|$)|(^|\s+)#(.*?)(\n|$)
----
Server IP: 69.147.83.197
Probable Submitter: 91.17.247.112
----
Manual Page -- http://www.php.net/manual/en/language.basic-syntax.comments.php
Edit -- https://master.php.net/note/edit/101289
Del: integrated -- https://master.php.net/note/delete/101289/integrated
Del: useless -- https://master.php.net/note/delete/101289/useless
Del: bad code -- https://master.php.net/note/delete/101289/bad+code
Del: spam -- https://master.php.net/note/delete/101289/spam
Del: non-english -- https://master.php.net/note/delete/101289/non-english
Del: in docs -- https://master.php.net/note/delete/101289/in+docs
Del: other reasons-- https://master.php.net/note/delete/101289
Reject -- https://master.php.net/note/reject/101289
Search -- https://master.php.net/manage/user-notes.php