Re: preg_match bug

From: Date: Tue, 26 Aug 2003 11:31:15 +0000
Subject: Re: preg_match bug
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-160798@lists.php.net to get a copy of this message
Hmm.. who knows, Ive wasted to much time on this silly problem. I appreciate your help Curt, thanks. "Christian Calloway" <callowaylc@yahoo.com> wrote in message news:20030826161407.17400.qmail@pb1.pair.com... > Fixed the problem using "s" pattern modifier: '/regexp/s', without it, it > still hangs using '(.|\n)' in the pattern. > > "Christian Calloway" <callowaylc@yahoo.com> wrote in message > news:20030826160831.99297.qmail@pb1.pair.com... > > Errors are not being logged on my XP Pro box (error logging is on) > > > > "Curt Zirzow" <php-general@zirzow.dyndns.org> wrote in message > > news:20030826020135.GZ56835@bagend.shire... > > > * Thus wrote Christian Calloway (callowaylc@yahoo.com): > > > > Hey I wanted to see if anyone was getting the same problem. Using > > preg_match > > > > in the following pattern: > > > > > > > > "/<tr bgcolor="#FFFFFF">(.|\n)+?<\/tr>/" > > > > > > > > PHP seems to be crashing. I get a "Page cannot be displayed" message > > from > > > > the browser. I've come across this before, and I just upgraded to > 4.3.3, > > and > > > > no difference. > > > > > > An error from the browser doesn't exactly prove that php is > > > 'Crashing'. Please look in the system logs for the crash. > > > > > > Also, in order to be able to reproduce this a small snipplet of > > > code that can reproduce the 'crash' would be exrememly helpful. > > > > > > > > > Curt > > > -- > > > "I used to think I was indecisive, but now I'm not so sure."

« previous php.general (#160798) next »