Re: greedy preg
| From: | Marek Kilimajer | Date: | Thu, 07 Aug 2003 14:48:19 +0000 |
| Subject: | Re: greedy preg | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-158651@lists.php.net to get a copy of this message | ||
And what about [^>]* -if there are no html tags
skate wrote:
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.