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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
35 - 20 = ?
Subscribe to this entry?

 
 [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 Jul 03 03:01:33 2025 UTC