diff options
-rw-r--r-- | Modules/regexmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/regexmodule.c b/Modules/regexmodule.c index 6f566c3..eb63f37 100644 --- a/Modules/regexmodule.c +++ b/Modules/regexmodule.c @@ -456,7 +456,7 @@ symcomp(pattern, gdict) *g++ = *o++; } } - if (*o == '[' && !escaped) { + else if (*o == '[' && !escaped) { *n++ = *o; ++o; /* eat the char following '[' */ *n++ = *o; |