ID: 31077 Updated by: [EMAIL PROTECTED] 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
