changeset 25441:d30cff97fb20

(compile_pattern_1): Enable RE_CHAR_CLASSES for regexp.
author Richard M. Stallman <rms@gnu.org>
date Sun, 29 Aug 1999 20:40:00 +0000
parents 0a1099580297
children b12e672a1edd
files src/search.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/search.c	Sun Aug 29 20:38:11 1999 +0000
+++ b/src/search.c	Sun Aug 29 20:40:00 1999 +0000
@@ -170,7 +170,7 @@
   cp->posix = posix;
   cp->buf.multibyte = multibyte;
   BLOCK_INPUT;
-  old = re_set_syntax (RE_SYNTAX_EMACS
+  old = re_set_syntax (RE_SYNTAX_EMACS | RE_CHAR_CLASSES
 		       | (posix ? 0 : RE_NO_POSIX_BACKTRACKING));
   val = (char *) re_compile_pattern ((char *)raw_pattern,
 				     raw_pattern_size, &cp->buf);