diff options
| author | Jim Blandy <jimb@redhat.com> | 1993-05-13 01:47:22 +0000 |
|---|---|---|
| committer | Jim Blandy <jimb@redhat.com> | 1993-05-13 01:47:22 +0000 |
| commit | 8b4cc189e3b36911197d3dcfaa5ec5d727f2fe03 (patch) | |
| tree | 17f3828f5f77ce6f4dd3b59f847003d262b9e140 /src/regex.c | |
| parent | cd9565badbbfdbdb91f98ab015048ea3c80987fb (diff) | |
| download | emacs-8b4cc189e3b36911197d3dcfaa5ec5d727f2fe03.tar.gz | |
*** empty log message ***
Diffstat (limited to 'src/regex.c')
| -rw-r--r-- | src/regex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/regex.c b/src/regex.c index 5bd4cf654d7..e8b588207da 100644 --- a/src/regex.c +++ b/src/regex.c @@ -4784,6 +4784,7 @@ regcomp (preg, pattern, cflags) /* regex_compile will allocate the space for the compiled pattern. */ preg->buffer = 0; preg->allocated = 0; + preg->used = 0; /* Don't bother to use a fastmap when searching. This simplifies the REG_NEWLINE case: if we used a fastmap, we'd have to put all the |
