From: Richard M. Stallman Date: Sun, 29 Aug 1999 20:40:00 +0000 (+0000) Subject: (compile_pattern_1): Enable RE_CHAR_CLASSES for regexp. X-Git-Tag: emacs-pretest-21.0.90~7000 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d24873d402cb76119019eb3803d26b3f50e5d098;p=emacs.git (compile_pattern_1): Enable RE_CHAR_CLASSES for regexp. --- 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) 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);