]> git.eshelyaron.com Git - emacs.git/commit
Call them “bracket expressions” more consistently
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 19 Jun 2023 18:09:00 +0000 (11:09 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 19 Jun 2023 18:09:00 +0000 (11:09 -0700)
commit94d8eeeff4ae99cb12718dab7cf7fdc52de77b6e
tree1875f4f4ec025215d88b5973b0ce2e1440c681f2
parent5dfe3f21d12a107055fb447be58b94be98c2f628
Call them “bracket expressions” more consistently

Emacs comments and doc were inconsistent about the name used for
regexps like [a-z].  Sometimes it called them “character
alternatives”, sometimes “character sets”, sometimes “bracket
expressions”.  Prefer “bracket expressions” as it is less confusing:
POSIX and most other programs’ doc uses “bracket expressions”,
“alternative” is also used in the Emacs documentation to talk about
...\|... in regexps, and “character set” normally has a different
meaning in Emacs.
doc/emacs/search.texi
doc/lispref/searching.texi
lisp/emacs-lisp/lisp-mode.el
lisp/textmodes/picture.el