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

From: Date: Sun, 16 Jun 2002 12:40:28 +0000
Subject: Bug #2273 Updated: ereg() not finding string when begin and end too far apart
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10679@lists.php.net to get a copy of this message
ID: 2273 Updated by: sander@php.net Reported By: david@kramer.ne.mediaone.net -Status: Open +Status: Bogus Bug Type: Misbehaving function Operating System: RH Linux 5.2 PHP Version: 3.0.12 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately, PHP 3 is no longer supported. Please download the latest version of PHP 4 from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Previous Comments: ------------------------------------------------------------------------ [1999-09-09 17:41:30] david@kramer.ne.mediaone.net 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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=2273&edit=1

« previous php.bugs (#10679) next »