From 53665e571f48c640aede3c98ff942a96ddb0b1d8 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 15 Aug 1997 15:45:25 +0000 Subject: Last minute changes for \B. AMK. --- Modules/regexpr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/regexpr.c b/Modules/regexpr.c index 08fcc3a..1c0f60a 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: { -- cgit v0.12