]> granicus.if.org Git - python/commitdiff
Fix bug with \< (AMK).
authorGuido van Rossum <guido@python.org>
Wed, 13 Aug 1997 16:35:04 +0000 (16:35 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 13 Aug 1997 16:35:04 +0000 (16:35 +0000)
Modules/regexpr.c

index 663e1de00a02ebcb3948581d227cc352afb2f5b9..4ea6a3e60188a8f0bfc3ca6f4786cf34c781cfcd 100644 (file)
@@ -1884,7 +1884,7 @@ int re_match(regexp_t bufp,
        {
                if (text == textend)
                        goto fail;
-               if (SYNTAX(*text) & Sword)
+               if (!(SYNTAX(*text) & Sword))
                        goto fail;
                if (text == textstart)
                        goto continue_matching;