diff options
| author | Richard M. Stallman | 1999-08-29 20:40:00 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1999-08-29 20:40:00 +0000 |
| commit | d24873d402cb76119019eb3803d26b3f50e5d098 (patch) | |
| tree | 3f2078ecbdac490693dcb35fc136ec82dc8cb46a /src | |
| parent | 96cc36cc58afebd9bfe6ea40129da800c8b487e5 (diff) | |
| download | emacs-d24873d402cb76119019eb3803d26b3f50e5d098.tar.gz emacs-d24873d402cb76119019eb3803d26b3f50e5d098.zip | |
(compile_pattern_1): Enable RE_CHAR_CLASSES for regexp.
Diffstat (limited to 'src')
| -rw-r--r-- | src/search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c index 4b135a6a84a..da4f635582f 100644 --- a/src/search.c +++ b/src/search.c | |||
| @@ -170,7 +170,7 @@ compile_pattern_1 (cp, pattern, translate, regp, posix, multibyte) | |||
| 170 | cp->posix = posix; | 170 | cp->posix = posix; |
| 171 | cp->buf.multibyte = multibyte; | 171 | cp->buf.multibyte = multibyte; |
| 172 | BLOCK_INPUT; | 172 | BLOCK_INPUT; |
| 173 | old = re_set_syntax (RE_SYNTAX_EMACS | 173 | old = re_set_syntax (RE_SYNTAX_EMACS | RE_CHAR_CLASSES |
| 174 | | (posix ? 0 : RE_NO_POSIX_BACKTRACKING)); | 174 | | (posix ? 0 : RE_NO_POSIX_BACKTRACKING)); |
| 175 | val = (char *) re_compile_pattern ((char *)raw_pattern, | 175 | val = (char *) re_compile_pattern ((char *)raw_pattern, |
| 176 | raw_pattern_size, &cp->buf); | 176 | raw_pattern_size, &cp->buf); |