Python Lexer escaping bug

Issue #178 resolved
Former user created an issue

Here an escaping bug in the python lexer:

{{{

!python

Example:

url_re = re.compile(r'(^|(?<!\w))(http|https|ftp|nntp|news|mailto|telnet|' r'file|irc|attachment|inline|drawing)\:([^\s\<\"' r'\'\}\]\|\:\,\.\)\?\!]|([\"\'\}\]\|\:\,\.\)\?\!][^\s' r'\<\"\'\}\]\|\:\,\.\)\?\!]))+') }}}

Reported by blackbird