mirror of https://github.com/python/cpython
Fix bug with \< (AMK).
This commit is contained in:
parent
6dc61b110f
commit
abed54ab4a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue