Re: preg guru question

From: Date: Fri, 13 Feb 2004 19:20:33 +0000
Subject: Re: preg guru question
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-177632@lists.php.net to get a copy of this message
On Fri, Feb 13, 2004 at 02:19:11PM -0500, joel boonstra wrote: <snip> > if (preg_match('/<img src=["\'](.*?)\.(.*?)["\']>/ig', > $dah, $matches)) { > print_r($matches); > } Doh! The '/ig' should just be '/i'. joel -- [ joel boonstra | gospelcom.net ]

« previous php.general (#177632) next »