[Tutor] Auto-hyperlinking ignoring html tags
anil maran
anilmrn at yahoo.com
Sat Nov 25 06:44:40 CET 2006
Hey
I m trying to auto-hyperlink urls,
i found libcia.web.Regextransform.py
but the problem is it applies auto hyperlink on html tags
for eg < img src = " http://www.google.com/a.gif " >
becomes
*gta* img src=" < a href= "http://www.google.com/a.gif " *lt
is there any way to auto-hyperlink on text, ignoring whatever is in html tags ie within < >
http://www.google.com/codesearch?q=auto-hyperlink+lang%3Apython&hl=en&btnG=Search+Code
http://www.google.com/codesearch?hl=en&q=+lang:python+auto-hyperlink+show:uryY9epTPhc:stWj4z9lV24:urqZ0U7CNig&sa=N&cd=1&ct=rc&cs_p=http://svn.navi.cx/misc/trunk&cs_f=cia/LibCIA/Web/RegexTransform.py#a0
Thanks for pointers
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20061124/1f773e63/attachment.htm
More information about the Tutor
mailing list