Help with RegExps
Chris...
sca at isogmbh.de
Wed Sep 22 07:04:19 EDT 1999
Dear RegExp-Gurus...
I am looking for an regular expression that changes text, only if it
is not anywhere between '<' and '>'.
For example, add syntax highlighting to HTML-file:
'some text <a href=#someRef>ref</a> # this is a comment'
should be changed to
'some text <a href=#someRef>ref</a> <font color=blue># this is a
comment</font>'
Is this possible with python's re module?
Thanks a lot in advance!!!
bye
Chris...
More information about the Python-list
mailing list