# HG changeset patch # User Richard M. Stallman # Date 935959200 0 # Node ID d30cff97fb205d3571025e383b814a0d182c7241 # Parent 0a1099580297165e4e40cb6112504f1b4fa35d2f (compile_pattern_1): Enable RE_CHAR_CLASSES for regexp. diff -r 0a1099580297 -r d30cff97fb20 src/search.c --- 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);