php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #53546 Give reference to PCRE pattern modifiers page
Submitted: 2010-12-15 06:45 UTC Modified: 2011-01-25 20:11 UTC
From: alec at hoodlum dot com dot au Assigned: philip (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: alec at hoodlum dot com dot au
New email:
PHP Version: OS:

 

 [2010-12-15 06:45 UTC] alec at hoodlum dot com dot au
Description:
------------
---
From manual page: http://www.php.net/function.preg-replace#Parameters
---

The preg_replace page only mentions the modifier "e" and I was unable to locate 
the PCRE pattern modifiers manual page until recently.

Suggest linking to 
"http://www.php.net/manual/en/reference.pcre.pattern.modifiers.php" under the 
Parameters -> patterns heading at "http://www.php.net/manual/en/function.preg-
replace.php".

Alternate suggestion would be to make a general reference to the PCRE Patterns 
section of the manual, The existence of this section is not mentioned on the 
preg_replace page and I found it difficult to locate.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-24 06:21 UTC] kalle@php.net
-Type: Feature/Change Request +Type: Documentation Problem
 [2011-01-25 20:10 UTC] philip@php.net
Automatic comment from SVN on behalf of philip
Revision: http://svn.php.net/viewvc/?view=revision&revision=307739
Log: - Added PCRE modifier link to 'See Also' section of relevant PCRE functions
- Moved the 'e' tip from preg_replace to the modifier documentation, and added link instead of 'e' docs
- Closes PHP Bug #53546
 [2011-01-25 20:11 UTC] philip@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: philip
 [2011-01-25 20:11 UTC] philip@php.net
Fixed in SVN, thanks for the report. :) Both of your suggestions were implemented!
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 13:00:02 2026 UTC