>I need to scan over a large HTML table which consists of a large number of 
>table row units:
>
><TR>
>  <TD>stuff</TD>
>  <TD>other stuff</TD>
></TR>
><TR>
>  <TD>stuff</TD>
>  <TD>other stuff</TD>
></TR>
>
>and so on ... The program needs to extract each <TR></TR> unit and process 
>it individually. Will a RE like
>
><TR>.*</TR> 
>
>need to recoded with some guards against greedyness?

Try something like
<TR>.\{-}</TR>

But I suggest using a parser.

Consider
<TR>
<TD><IMG SRC="Ouch" ALT="Evil </TR>">
</TD>
</TR>

Gergo

+-[Kontra, Gergely @ Budapest University of Technology and Economics]-+
|         Email: kgergely / mcl.hu,  kgergely / turul.eet.bme.hu          |
|  URL:   turul.eet.bme.hu/~kgergely    Mobile: (+36 20) 356 9656     |
+-------"Olyan langesz vagyok, hogy poroltoval kellene jarnom!"-------+
.
Magyar php mirror es magyar php dokumentacio: http://hu.php.net