From d24873d402cb76119019eb3803d26b3f50e5d098 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 29 Aug 1999 20:40:00 +0000 Subject: [PATCH] (compile_pattern_1): Enable RE_CHAR_CLASSES for regexp. --- src/search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5