Variable: tramp-yn-prompt-regexp

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

Value

"\\(\\(?:Store key in cache\\? (y/\\|Update cached key\\? (y/n, Return cancels connectio\\)n)\\)\\s-*"

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
  (concat
   (regexp-opt '("Store key in cache? (y/n)"
		 "Update cached key? (y/n, Return cancels connection)")
               t)
   "\\s-*")
  "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)