[Tutor] Regex search in HTML data

Basil Shubin bashu at yandex.ru
Tue Aug 8 16:23:43 CEST 2006


Hi friends,

Please, see the attachment and examine a code I have provide. The 
problem is, I want fetch data from <H2>Comments</H2> until the first 
</TD> occurrence , but with my code data fetchind until the last </TD> 
in htmlData variable, but that is not what I want. So question is, what 
is my mistake?

Thanks in advance.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.py
Type: text/x-python
Size: 2108 bytes
Desc: not available
Url : http://mail.python.org/pipermail/tutor/attachments/20060808/cba5f438/attachment.py 


More information about the Tutor mailing list