Problem with preg_match_all

From: Date: Wed, 26 Jan 2000 13:14:06 +0000
Subject: Problem with preg_match_all
Groups: php.version4 
Request: Send a blank email to php-version4+get-9413@lists.php.net to get a copy of this message
I have an html file (size 4 Kb) I put this file to variable $result; When I try to use preg_match_all as below $fnd=preg_match_all("|\<td bgcolor=\".*\" width=\".*\" class=\".*\"\>\<b\>(.*)\<\/b\>\<\/td\>.*\<td width=\".*\" align=\".*\" class=\".*\"\>(.*)\<\/td\>\<td width=\".*\" align=\".*\" class=\".*\"\>(.*)\<\/td\>\<td width=\".*\" align=\".*\" class=\".*\"\>(.*)\<\/td\>|msiU",$results,$brances); it seems that preg_match_all runs in endless loop. By the present moment the method runs about 17 min.

« previous php.version4 (#9413) next »