diff options
| author | Guido van Rossum <guido@python.org> | 1997-12-22 22:46:52 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1997-12-22 22:46:52 +0000 |
| commit | 557dea1ca28bd80b50785c9a16262a3c78e5bec0 (patch) | |
| tree | e3353ad531fd77433ed07aaefcb114d4336e0ef1 /Modules/pcremodule.c | |
| parent | 0148bbf96643c6c8bb7f2ec9598bbf5b09ed494a (diff) | |
| download | cpython-git-557dea1ca28bd80b50785c9a16262a3c78e5bec0.tar.gz | |
AMK's latest -- synchronized with PCRE 1.04.
Diffstat (limited to 'Modules/pcremodule.c')
| -rw-r--r-- | Modules/pcremodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/pcremodule.c b/Modules/pcremodule.c index 2587fa0295..c1a15235a2 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); |
