PHP 4.0 Bug #6753: docs and code mismatch on pcre modifier
| From: | felicity at kluge dot net | Date: | Thu, 14 Sep 2000 08:23:25 +0000 |
| Subject: | PHP 4.0 Bug #6753: docs and code mismatch on pcre modifier | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33269@lists.php.net to get a copy of this message | ||
From: felicity@kluge.net
Operating system: solaris 7
PHP version: 4.0.2
PHP Bug Type: PCRE related
Bug description: docs and code mismatch on pcre modifier
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.)