From abed54ab4aa8ce5a1c4b413f1273dc8bde687297 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 13 Aug 1997 16:35:04 +0000 Subject: Fix bug with \< (AMK). --- Modules/regexpr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/regexpr.c b/Modules/regexpr.c index 663e1de..4ea6a3e 100644 --- a/Modules/regexpr.c +++ b/Modules/regexpr.c @@ -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; -- cgit v0.12