]> git.eshelyaron.com Git - emacs.git/commit
Simplify regex-emacs by assuming Emacs syntax
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 6 Aug 2018 01:41:20 +0000 (18:41 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 6 Aug 2018 02:36:10 +0000 (19:36 -0700)
commit03dfb6061bfd78d74564d678213ef95728a5f9eb
treeab203ec6be71c599f7fb3bccdf5a8aa4832c3372
parent3a6abe65c1324361bf0efcb65df61d22a39cfaaf
Simplify regex-emacs by assuming Emacs syntax

* src/regex-emacs.c (reg_syntax_t)
(RE_BACKSLASH_ESCAPE_IN_LISTS, RE_BK_PLUS_QM)
(RE_CHAR_CLASSES, RE_CONTEXT_INDEP_ANCHORS)
(RE_CONTEXT_INDEP_OPS, RE_CONTEXT_INVALID_OPS)
(RE_DOT_NEWLINE, RE_DOT_NOT_NULL, RE_HAT_LISTS_NOT_NEWLINE)
(RE_INTERVALS, RE_LIMITED_OPS, RE_NEWLINE_ALT)
(RE_NO_BK_BRACES, RE_NO_BK_PARENS, RE_NO_BK_REFS)
(RE_NO_BK_VBAR, RE_NO_EMPTY_RANGES)
(RE_UNMATCHED_RIGHT_PAREN_ORD, RE_NO_POSIX_BACKTRACKING)
(RE_NO_GNU_OPS, RE_FRUGAL, RE_SHY_GROUPS)
(RE_NO_NEWLINE_ANCHOR, RE_SYNTAX_EMACS, RE_TRANSLATE_P):
Remove.  All uses removed and resulting code simplified.
(TRANSLATE): Treat nil as an absent translation table, not zero.
All uses changed.
src/regex-emacs.c
src/search.c