#31077 [Opn->Bgs]: Typo on preg_replace documentation
| From: | vrana@php.net | Date: | Tue, 14 Dec 2004 08:00:27 +0000 |
| Subject: | #31077 [Opn->Bgs]: Typo on preg_replace documentation | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969365454@lists.php.net to get a copy of this message | ||
ID: 31077
Updated by: vrana@php.net
Reported By: n0dalus at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
Operating System: N/A
PHP Version: Irrelevant
New Comment:
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).
Previous Comments:
------------------------------------------------------------------------
[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