]> git.eshelyaron.com Git - emacs.git/commit
2019-03-26 regex cleanup
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 27 Mar 2019 02:06:36 +0000 (19:06 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 27 Mar 2019 02:07:21 +0000 (19:07 -0700)
commit5d6a314475704f3fbdb29f68c6929516230e8a98
treead00278e70192b7bfb072b436a0aa607ed20a9a9
parentc8ec3108a3d0bd1955d21f40b3c0c3b36d55b20d
2019-03-26 regex cleanup

Problems reported by Mattias Engdegård in:
https://lists.gnu.org/r/emacs-devel/2019-03/msg01028.html
* lisp/align.el (align-rules-list):
* lisp/speedbar.el (speedbar-check-read-only, speedbar-check-vc):
* lisp/vc/diff-mode.el (diff-add-change-log-entries-other-window):
* lisp/woman.el (woman-parse-numeric-arg):
Put "-" at end of character alternatives, since a range was not intended.
* lisp/erc/erc.el (font-lock):
* lisp/mail/footnote.el (cl-seq):
Avoid duplicate character alternatives by using cl-seq API.
* lisp/mail/footnote.el (footnote--current-regexp):
* lisp/textmodes/css-mode.el (css--font-lock-keywords):
Avoid repetition of repetition.
* lisp/net/webjump.el (webjump-url-encode):
Add ~ to character alternatives, and rewrite confusing range.
* lisp/progmodes/verilog-mode.el (verilog-compiler-directives)
(verilog-assignment-operator-re):
Remove duplicate.
* lisp/progmodes/verilog-mode.el (verilog-preprocessor-re):
* lisp/textmodes/css-mode.el (css--font-lock-keywords):
Don’t escape a char that doesn’t need it.
* lisp/textmodes/picture.el (picture-tab-chars): In docstring,
do not say regexp characters will be quoted; merely say in
another way that the syntax is that of character alternatives.
(picture-set-tab-stops, picture-tab-search): Don’t attempt
to regexp-quote picture-tab-chars.
(picture-tab-search): Quote \ in picture-tab-chars for
skip-chars-backwards, which treats \ differently than
regexp character alternatives do.
lisp/align.el
lisp/erc/erc.el
lisp/mail/footnote.el
lisp/net/webjump.el
lisp/progmodes/verilog-mode.el
lisp/speedbar.el
lisp/textmodes/css-mode.el
lisp/textmodes/picture.el
lisp/vc/diff-mode.el
lisp/woman.el