Bug #2273: ereg() not finding string when begin and end too far apart

From: Date: Thu, 09 Sep 1999 21:41:30 +0000
Subject: Bug #2273: ereg() not finding string when begin and end too far apart
Groups: php.dev 
Request: Send a blank email to php-dev+get-10782@lists.php.net to get a copy of this message
From: david@kramer.ne.mediaone.net 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.

« previous php.dev (#10782) next »