Mercurial > emacs
diff src/search.c @ 27692:bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
to Emacs' syntax. Also fix the comment about set/not-set meanings
since Emacs syntax is not the value 0 any more.
* search.c (compile_pattern_1): Remove RE_CHAR_CLASSES from the syntax
since it's now part of RE_SYNTAX_EMACS.
| author | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| date | Mon, 14 Feb 2000 17:00:16 +0000 |
| parents | 5cd59d1800ad |
| children | e066446ae244 |
line wrap: on
line diff
--- a/src/search.c Sun Feb 13 23:50:32 2000 +0000 +++ b/src/search.c Mon Feb 14 17:00:16 2000 +0000 @@ -167,7 +167,7 @@ cp->posix = posix; cp->buf.multibyte = multibyte; BLOCK_INPUT; - old = re_set_syntax (RE_SYNTAX_EMACS | RE_CHAR_CLASSES + old = re_set_syntax (RE_SYNTAX_EMACS | (posix ? 0 : RE_NO_POSIX_BACKTRACKING)); val = (char *) re_compile_pattern ((char *)raw_pattern, raw_pattern_size, &cp->buf);
