Florent Xicluna <florent.xicl...@gmail.com> added the comment: Well, the actual behavior is a little bit more complex to describe.
>>> re.match('[.-_a-z]', '-') >>> re.match('[._-a-z]', '-') <_sre.SRE_Match object at 0x100418e80> >>> re.match('[.-_a-z]', 'b') <_sre.SRE_Match object at 0x100418b88> >>> re.match('[._-a-z]', 'b') However, I don't think it is worth changing again the documentation. ---------- nosy: +flox type: -> behavior _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13219> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com