RE: Parsing HTML Tables

2005-04-30 Thread Charles K. Clarkson
Charles K. Clarkson wrote: Oopsie! : my @rows; : while ( $parser->get_tag( 'tr' ) ) { : : # check error number : next unless $parser->get_trimmed_text( '/td' ) eq ''; next unless $parser->get_trimmed_text( '/td' ) eq '4321191'; : : # get next

RE: Parsing HTML Tables

2005-04-30 Thread Charles K. Clarkson
Sri Pen wrote: : and second @tableDefRows match the data between : ..4321191..It matches all the data between : ... something is wrong : here. You are getting this because perl regular expressions are greedy by default and because regular expressions alone are a po

Parsing HTML Tables

2005-04-30 Thread Sri Pen
my( @tableRows, @tableDefRows); $htmlContent = s/\n//g; # $htmlContent Contains the below sample 4321191 http://mail.yahoo.com/config/login?/pls/bug/webbug_util.show_bug_user? p_userid=YHIRA">YHIRA Bug 432119 - WHEN CREATING DATABASE 11 - Code Bug (Response/Resolution) http://mail.yahoo.com/conf