; * lisp/term.el (term-control-seq-regexp): remove duplicate chars

This commit is contained in:
Mattias Engdegård 2025-02-07 18:52:38 +01:00
parent 89f88f06a4
commit bb86bd2bf6

View file

@ -3016,7 +3016,7 @@ See `term-prompt-regexp'."
(defconst term-control-seq-regexp
(concat
;; A control character not matched in a longer sequence below,
"\\(?:[\x00-\x19\x1C-\x1F\r\n\t\b]\\|"
"\\(?:[\x00-\x19\x1C-\x1F]\\|"
;; some Emacs specific control sequences, implemented by
;; `term-command-hook',
"\032[^\n]+\n\\|"