[PHP-DEV] PHP 4.0 Bug #6753 Updated: docs and code mismatch on pcre modifier From: Bug Database (php-dev <email protected>)
Date: 09/14/00

ID: 6753
Updated by: andrei
Reported By: felicity <email protected>
Status: Closed
Bug Type: PCRE related
Assigned To:
Comments:

Fixed in documentation - good catch.

Previous Comments:
---------------------------------------------------------------------------

[2000-09-14 04:23:25] felicity <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>