Variable: eshell-prompt-regexp

eshell-prompt-regexp is a customizable variable defined in em-prompt.el.gz.

This variable is obsolete since 30.1.

Value

"^[^#$\n]* [#$] "

Documentation

A regexp which fully matches your Eshell prompt.

Probably introduced at or before Emacs version 30.1.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/em-prompt.el.gz
(defcustom eshell-prompt-regexp "^[^#$\n]* [#$] "
  "A regexp which fully matches your Eshell prompt."
  :type 'regexp
  :group 'eshell-prompt)