From 80082d00d8ab8803c792751c0019c2f88614f48e Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Wed, 17 Aug 2016 10:10:47 +0200 Subject: [PATCH] Fix Bug#24203 * lisp/comint.el (comint-password-prompt-regexp): Relax regexp. (Bug#24203) --- lisp/comint.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/comint.el b/lisp/comint.el index 863374d944c..0319eeb80c7 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -350,8 +350,8 @@ This variable is buffer-local." t) " +\\)" "\\(?:" (regexp-opt password-word-equivalents) "\\|Response\\)" - "\\(?:\\(?:, try\\)? *again\\| (empty for no passphrase)\\| (again)\\)?\ -\\(?: for [^::៖]+\\)?[::៖]\\s *\\'") + "\\(?:\\(?:, try\\)? *again\\| (empty for no passphrase)\\| (again)\\)?" + "\\(?: for .+\\)?[::៖]\\s *\\'") "Regexp matching prompts for passwords in the inferior process. This is used by `comint-watch-for-password-prompt'." :version "25.2" -- 2.39.2