summaryrefslogtreecommitdiffstats
path: root/Modules/pcremodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-12-22 22:46:52 (GMT)
committerGuido van Rossum <guido@python.org>1997-12-22 22:46:52 (GMT)
commit557dea1ca28bd80b50785c9a16262a3c78e5bec0 (patch)
treee3353ad531fd77433ed07aaefcb114d4336e0ef1 /Modules/pcremodule.c
parent0148bbf96643c6c8bb7f2ec9598bbf5b09ed494a (diff)
downloadcpython-557dea1ca28bd80b50785c9a16262a3c78e5bec0.zip
cpython-557dea1ca28bd80b50785c9a16262a3c78e5bec0.tar.gz
cpython-557dea1ca28bd80b50785c9a16262a3c78e5bec0.tar.bz2
AMK's latest -- synchronized with PCRE 1.04.
Diffstat (limited to 'Modules/pcremodule.c')
-rw-r--r--Modules/pcremodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/pcremodule.c b/Modules/pcremodule.c
index 2587fa0..c1a1523 100644
--- a/Modules/pcremodule.c
+++ b/Modules/pcremodule.c
@@ -231,7 +231,7 @@ PyPcre_compile(self, args)
newpattern[j++]='\0';
newpattern[j++]='\0';
newpattern[j++]='\0';
- newpattern[j]='\0';
+ newpattern[j]='\0';
rv->regex = pcre_compile((char*)newpattern, options,
&error, &erroroffset, dictionary);