Hugh Sasse wrote:
> I'd agree with your choice of regexp.  I think we need to see more of
> the surrounding code to fix this.


rubyscript
--------------
datei_new = IO.read(°»index.htm°…)
datei_regexp = datei_new.scan(/(<img.*>)/m)

puts datei_regexp



index.htm
------------

<html>
<head><title>test</title></head>
<body>
<table>
<tr>
<td bordercolor="#FFFFFF">

<table border="0" id="table2" bgcolor="#FFFFFF" width="100%">
<tr>

<td align="left" valign="top" width="25%"><a href="../personal/po.htm">
<img src="images/animationpundo_schwarz_kl.gif"
alt="Personal und Organisation" border="0" width="84"
height="64"></a></td>

<td align="left" valign="top" width="25%"><font face="Arial"><a
href="../personal/po.htm"></font></td>

</tr>
</table>

</td>
</tr>
</table>
</body>
</html>




-- 
Posted via http://www.ruby-forum.com/.