Fixed the problem using "s" pattern modifier: '/regexp/s', without it, it
still hangs using '(.|\n)' in the pattern.

"Christian Calloway" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Errors are not being logged on my XP Pro box (error logging is on)
>
> "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > * Thus wrote Christian Calloway ([EMAIL PROTECTED]):
> > > 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."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to