Regex highlight html
NOSPAM plz
nospam at riddergarn.dk
Tue Feb 13 13:43:39 EST 2007
Gabriel Genellina skrev:
> En Tue, 13 Feb 2007 10:13:26 -0300, NOSPAM plz <nospam at riddergarn.dk>
> escribió:
>
>
>> I want to write a function that highlights html code.
>>
>
> Well, it's already done, you have Pygments http://pygments.pocoo.org/
> and SilverCity http://silvercity.sourceforge.net/
>
>
>> I have read the wiki page
>> http://en.wikipedia.org/wiki/Regular_expressions
>>
>
> Ouch... Read some previous posts on why it's not a good idea to use
> regexps for parsing html code.
>
>
Thanks just what i needed :D!
More information about the Python-list
mailing list