PHP 4.0 Bug #6753 Updated: docs and code mismatch on pcre modifier
| From: | Bug Database | Date: | Thu, 14 Sep 2000 08:35:32 +0000 |
| Subject: | PHP 4.0 Bug #6753 Updated: docs and code mismatch on pcre modifier | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33271@lists.php.net to get a copy of this message | ||
ID: 6753
Updated by: andrei
Reported By: felicity@kluge.net
Status: Closed
Bug Type: PCRE related
Assigned To:
Comments:
Fixed in documentation - good catch.
Previous Comments:
---------------------------------------------------------------------------
[2000-09-14 04:23:25] felicity@kluge.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.)
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6753