php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6753 docs and code mismatch on pcre modifier
Submitted: 2000-09-14 04:23 UTC Modified: 2000-09-14 04:35 UTC
From: felicity at kluge dot net Assigned:
Status: Closed Package: PCRE related
PHP Version: 4.0.2 OS: solaris 7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: felicity at kluge dot net
New email:
PHP Version: OS:

 

 [2000-09-14 04:23 UTC] felicity at kluge dot net
The docs (http://www.php.net/manual/pcre.pattern.modifiers.php) say that the modifier to turn on "PCRE_DOLLAR_ENDONLY" is "E", but php_pcre.c has "D" as the modifier. (line 233)

I suppose it really doesn't matter which one is used, but they should match.  (I would vote for "D", since it would wouldn't require any code changes for people.)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-14 04:35 UTC] andrei@php.net
Fixed in documentation - good catch.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 08:01:29 2024 UTC