Re: preg_match bug

From: Date: Tue, 26 Aug 2003 00:42:36 +0000
Subject: Re: preg_match bug
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-160697@lists.php.net to get a copy of this message
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

« previous php.general (#160697) next »