Re: greedy preg

From: Date: Thu, 07 Aug 2003 13:05:52 +0000
Subject: Re: greedy preg
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-158647@lists.php.net to get a copy of this message
> Do you need to use ".*?"? If there will be only white characters, use > \s* instead. > unfortunately there's some content either side of $file before <item></item> this content is different for each item, so i can't define it in the pattern.

« previous php.general (#158647) next »