1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

* lisp/comint.el (comint-password-prompt-regexp): Join two entries.

This commit is contained in:
Michael Albinus 2025-09-13 09:22:26 +02:00
parent fe9b1fa014
commit 9430638e48

View file

@ -425,9 +425,8 @@ This variable is buffer-local."
;; Default openssh format: "user@host's password:".
"\\|^[^@ \t\n]+@[^@ \t\n]+'s password: *\\'"
;; openssh-8.6p1 format: "(user@host) Password:".
"\\|^([^)@ \t\n]+@[^)@ \t\n]+) Password: *\\'"
;; "(user@host) Password for user@host:"
"\\|^([^)@ \t\n]+@[^)@ \t\n]+) Password for [^)@ \t\n]+@[^)@ \t\n]+: *\\'")
;; "(user@host) Password for user@host:" (Bug#79424)
"\\|^([^)@ \t\n]+@[^)@ \t\n]+) Password\\(?: for [^)@ \t\n]+@[^)@ \t\n]+\\)?: *\\'")
"Regexp matching prompts for passwords in the inferior process.
This is used by `comint-watch-for-password-prompt'."
:version "31.1"