]> granicus.if.org Git - python/commitdiff
Last minute changes for \B. AMK.
authorGuido van Rossum <guido@python.org>
Fri, 15 Aug 1997 15:45:25 +0000 (15:45 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 15 Aug 1997 15:45:25 +0000 (15:45 +0000)
Modules/regexpr.c

index 08fcc3ab2bab4bb27c0bae2737532cfc6a28abf7..1c0f60a5b43f1b59c88191f8f0b4aea9ad40b543 100644 (file)
@@ -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:
        {