#31077 [Asn->Csd]: Typo on preg_replace documentation
| From: | sean@php.net | Date: | Tue, 14 Dec 2004 18:35:55 +0000 |
| Subject: | #31077 [Asn->Csd]: Typo on preg_replace documentation | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969365459@lists.php.net to get a copy of this message | ||
ID: 31077
Updated by: sean@php.net
Reported By: n0dalus at gmail dot com
-Status: Assigned
+Status: Closed
Bug Type: Documentation problem
Operating System: N/A
PHP Version: Irrelevant
Assigned To: sean
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2004-12-14 18:51:36] sean@php.net
I think this bug has merit.
#e, @e and !e are all equivalent to /e in regex-speak, so it should
just be "Using the 'e' modifier".
I'll fix it in a bit.
S
------------------------------------------------------------------------
[2004-12-14 09:00:25] vrana@php.net
Thanks for the note, but it's a habit to mark modifiers with a slash
from languages where / directly denotes the edge of a regexp (like
JavaScript).
------------------------------------------------------------------------
[2004-12-14 02:22:38] n0dalus at gmail dot com
Description:
------------
On http://www.php.net/manual/en/function.preg-replace.php#AEN113427
Example 4. Using /e modifier title should be changed, since / is just a
delimiter and could be any other valid character.
A more appropriate title would be:
Example 4. Using PREG e modifier
Reproduce code:
---------------
N/A
Expected result:
----------------
N/A
Actual result:
--------------
N/A
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31077&edit=1