On Apr 11, 7:18 pm, Paul McGuire <pt...@austin.rr.com> wrote:
[...]
>
> So I would say the surprise isn't that case 3 didn't match, but that
> case 2 matched.
>
> Unless I just don't get what you were testing, not being an RE wiz.

Case 2 is the regexp engine interpreting escapes that appear as
literal strings.  It's weird, because what's the point of Python would
do it for you anyway, but it seems to be the correct behaviour.

Andrew
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to