Hi,

I try to figure out what gonna be the equivalent of :

(.*?)

For the same purpose on multiline basis.

I would like completed the variable part of elements that I searching for.

Example :

<table width="95%" cellpadding="0" cellspacing="0" border="0" align="center">

Is the begining of the variable element that I wanna completed...

</table>

Is the end of the element, so, I would like to completed what between those two patterns.


pattern1+r"(.*?)"+pattern2

Was working ok for a single line selection like :

<table width="95%" cellpadding="0" cellspacing="0" border="0" align="center">"variable element of the search"</table>

I hoped that I have been clear.

Thanks

Guy


--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to