[PHP-DEV] Bug #2273: ereg() not finding string when begin and end too far apart From: david <email protected>
Date: 09/09/99

From: david <email protected>
Operating system: RH Linux 5.2
PHP version: 3.0.12
PHP Bug Type: Misbehaving function
Bug description: ereg() not finding string when begin and end too far apart

I'm doing a "if(ereg('<DEFMAIN>(.*)</DEFMAIN>',$DefContent,$RegOut))", where the text between the DEFMAIN tags is around 106K in size. It is not matching. If I cut out a few lines of text (any lines) in the middle, it matches.

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