Last minute changes for \B. AMK.

This commit is contained in:
Guido van Rossum 1997-08-15 15:45:25 +00:00
parent cf00505325
commit 53665e571f

View file

@ -1962,8 +1962,8 @@ int re_match(regexp_t bufp,
if (text == textstart || text == textend) if (text == textstart || text == textend)
goto fail; goto fail;
if (!((SYNTAX(text[-1]) & Sword) ^ (SYNTAX(*text) & Sword))) if (!((SYNTAX(text[-1]) & Sword) ^ (SYNTAX(*text) & Sword)))
goto fail;
goto continue_matching; goto continue_matching;
goto fail;
} }
case Csyntaxspec: case Csyntaxspec:
{ {