Fix bug with \< (AMK).

This commit is contained in:
Guido van Rossum 1997-08-13 16:35:04 +00:00
parent 6dc61b110f
commit abed54ab4a
1 changed files with 1 additions and 1 deletions

View File

@ -1884,7 +1884,7 @@ int re_match(regexp_t bufp,
{ {
if (text == textend) if (text == textend)
goto fail; goto fail;
if (SYNTAX(*text) & Sword) if (!(SYNTAX(*text) & Sword))
goto fail; goto fail;
if (text == textstart) if (text == textstart)
goto continue_matching; goto continue_matching;