Benjamin Peterson <[EMAIL PROTECTED]> added the comment: It seems that escape is pretty dumb. The documentations says that re.escape escapes all non-alphanumeric characters, and it does that faithfully. It would seem more useful to have a list of meta-characters and just escape those. This is more true in Py3k when str can have thousands of possible characters that could be considered alphanumeric.
---------- nosy: +benjamin.peterson __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2650> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com