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)
|
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;
|
||||||
|
|
Loading…
Reference in New Issue