Meador Inge <mead...@gmail.com> added the comment: > Ruby's behavior seems best to me.
We can obtain the Ruby behavior easily. There is one check in sre_compile.py in the '_simple' function that needs to be removed (see attached patch). Whether or not the Ruby behavior is the "correct" behavior I am still not sure. In any case, I think throwing an exception is to aggressive for this case. ---------- keywords: +patch nosy: +minge Added file: http://bugs.python.org/file16207/issue-2537.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue2537> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com