From: Guido van Rossum Date: Fri, 15 Aug 1997 15:45:25 +0000 (+0000) Subject: Last minute changes for \B. AMK. X-Git-Tag: v1.5a3~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=53665e571f48c640aede3c98ff942a96ddb0b1d8;p=thirdparty%2FPython%2Fcpython.git Last minute changes for \B. AMK. --- diff --git a/Modules/regexpr.c b/Modules/regexpr.c index 08fcc3ab2bab..1c0f60a5b43f 100644 --- a/Modules/regexpr.c +++ b/Modules/regexpr.c @@ -1962,8 +1962,8 @@ int re_match(regexp_t bufp, if (text == textstart || text == textend) goto fail; if (!((SYNTAX(text[-1]) & Sword) ^ (SYNTAX(*text) & Sword))) - goto fail; - goto continue_matching; + goto continue_matching; + goto fail; } case Csyntaxspec: {