diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/regexpr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/regexpr.c b/Modules/regexpr.c index 08fcc3a..1c0f60a 100644 --- a/Modules/regexpr.c +++ b/Modules/regexpr.c @@ -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: { |