diff options
author | Guido van Rossum <guido@python.org> | 1997-08-13 16:35:04 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-08-13 16:35:04 (GMT) |
commit | abed54ab4aa8ce5a1c4b413f1273dc8bde687297 (patch) | |
tree | f2d3b0529c9fe2a0ed64ddad4d77ca5186869325 | |
parent | 6dc61b110fe9f5a30c6f37fab9e28c33fc6040cf (diff) | |
download | cpython-abed54ab4aa8ce5a1c4b413f1273dc8bde687297.zip cpython-abed54ab4aa8ce5a1c4b413f1273dc8bde687297.tar.gz cpython-abed54ab4aa8ce5a1c4b413f1273dc8bde687297.tar.bz2 |
Fix bug with \< (AMK).
-rw-r--r-- | Modules/regexpr.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |