diff options
Diffstat (limited to 'Modules/regexpr.c')
-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; |