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
 [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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-14 04:35 UTC] andrei@php.net
Fixed in documentation - good catch.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Mar 13 17:01:30 2025 UTC