summaryrefslogtreecommitdiffstats
path: root/Modules/regexpr.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-08-15 15:45:25 (GMT)
committerGuido van Rossum <guido@python.org>1997-08-15 15:45:25 (GMT)
commit53665e571f48c640aede3c98ff942a96ddb0b1d8 (patch)
treebd57cd9685841296f627992a8b3dbf901c6fc6fa /Modules/regexpr.c
parentcf00505325e76c2faa50c8935b51c78b905c9036 (diff)
downloadcpython-53665e571f48c640aede3c98ff942a96ddb0b1d8.zip
cpython-53665e571f48c640aede3c98ff942a96ddb0b1d8.tar.gz
cpython-53665e571f48c640aede3c98ff942a96ddb0b1d8.tar.bz2
Last minute changes for \B. AMK.
Diffstat (limited to 'Modules/regexpr.c')
-rw-r--r--Modules/regexpr.c4
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:
{