Doc #63650 [Opn->Nab]: wrong regex for comments
| From: | salathe@php.net | Date: | Thu, 29 Nov 2012 18:27:49 +0000 |
| Subject: | Doc #63650 [Opn->Nab]: wrong regex for comments | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-9225@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=63650&edit=1
ID: 63650
Updated by: salathe@php.net
Reported by: davidbruchmann at gmail dot com
Summary: wrong regex for comments
-Status: Open
+Status: Not a bug
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
The full sentence reads, "The sequence (?# marks the start of a comment which
continues up to the next closing parenthesis."
Previous Comments:
------------------------------------------------------------------------
[2012-11-29 14:53:02] davidbruchmann at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/regexp.reference.comments
---
its said:
"The sequence (?# marks ..."
Thats wrong cause the sequence / expression has to be closed.
Correct is:
"The sequence (?#) marks ..."
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=63650&edit=1