#31077 [Bgs->Asn]: Typo on preg_replace documentation

From: Date: Tue, 14 Dec 2004 17:51:37 +0000
Subject: #31077 [Bgs->Asn]: Typo on preg_replace documentation
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969365457@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: Bogus +Status: Assigned Bug Type: Documentation problem Operating System: N/A PHP Version: Irrelevant -Assigned To: +Assigned To: sean New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.doc (#969365457) next »