Ezio Melotti <ezio.melo...@gmail.com> added the comment:

Thanks for the patch.

This seems to fix the problem with the trailing \, but not the other issues.  
As I mentioned in my previous message I think re.escape might be a better 
solution.
I also wonder if there are tests for this, and how difficult would be to add 
them if they are missing.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13052>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to