Hey,

I want to write a function that highlights html code.

I have read the wiki page http://en.wikipedia.org/wiki/Regular_expressions

just like this:

<img scr="test.png" alt="test pic" height="100" width="100">
<a href="#">test</a>

to this:

<img scr="test.png" alt="test pic" height="100" width="100">
<a href="#">test</a>

Just example colors - not so pretty :)

Any suggestions?

Andreas



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

Reply via email to