Thread: web2lrf
View Single Post
Old 01-16-2008, 05:39 AM   #134
slav
Member
slav began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Sep 2007
Device: PRS-500
Hi All!

I have a problem converting one RSS feed - the problem is with < and > (feed is full of that).

I tried to write regex like:
Code:
(r'(&lt;)(.*?&gt;)', lambda match : '<code>' + match.group(1) + match.group(2) + '</code>'),
but it doesn't work (I'm not a regex wizard :-)

can anyone help me with that?

kovidgoyal - big thanx for your work on this program !
slav is offline   Reply With Quote