Variable: tramp-yn-prompt-regexp

tramp-yn-prompt-regexp is a customizable variable defined in tramp.el.gz.

Value

"\\(?:Store key in cache\\? (y/n.*)\\|Update cached key\\? (y/n, Return cancels connection)\\)[[:blank:]]*"

Documentation

Regular expression matching all y/n queries which need to be confirmed.

The confirmation should be done with y or n. The regexp should match at end of buffer. See also tramp-yesno-prompt-regexp.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
(defcustom tramp-yn-prompt-regexp
  (rx (| (: "Store key in cache? (y/n" (* nonl) ")")
	 "Update cached key? (y/n, Return cancels connection)")
      (* blank))
  "Regular expression matching all y/n queries which need to be confirmed.
The confirmation should be done with y or n.
The regexp should match at end of buffer.
See also `tramp-yesno-prompt-regexp'."
  :type 'regexp)