Obviously its an example, otherwise the script wouldn't have even parsed.

$regularExpression = '"/<tr bgcolor="#FFFFFF">(.|\n)+?<\/tr>/';

preg_match ($regularExpression, $fileString, $matches)

This regular expression causes PHP to crash for me, not a parsing error.

"John W. Holmes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Christian Calloway wrote:
>
> > Hey I wanted to see if anyone was getting the same problem. Using
preg_match
> > in the following pattern:
> >
> > "/<tr bgcolor="#FFFFFF">(.|\n)+?<\/tr>/"
>
> You need to escape the double quotes in your string at the very least.
>
> --
> ---John Holmes...
>
> Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
>
> php|architect: The Magazine for PHP Professionals – www.phparch.com

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

Reply via email to