Variable: erc-controls-highlight-regexp

erc-controls-highlight-regexp is a variable defined in erc-goodies.el.gz.

Value

"\\([]\\|\\(?:\\([0-9]\\{1,2\\}\\)\\(,\\([0-9]\\{1,2\\}\\)\\)?\\)?\\)\\([^\n]*\\)"

Documentation

Regular expression matching control chars to highlight.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-goodies.el.gz
;; Before the change to `rx', group 3 used to be a sibling of group 2.
;; This was assumed to be a bug.  A few minor simplifications were
;; also performed.  If incorrect, please admonish.
(defvar erc-controls-highlight-regexp
  (rx (group (or ?\C-b ?\C-\] ?\C-v ?\C-_ ?\C-g ?\C-o
                 (: ?\C-c (? (group (** 1 2 (any "0-9")))
                             (? (group ?, (group (** 1 2 (any "0-9")))))))))
      (group (* (not (any ?\C-b ?\C-c ?\C-g ?\n ?\C-o ?\C-v ?\C-\] ?\C-_)))))
  "Regular expression matching control chars to highlight.")