Commit 6a3f3315 authored by Glenn Morris's avatar Glenn Morris

Broaden comint-password-prompt-regexp

* lisp/comint.el (comint-password-prompt-regexp):
Broaden the regexp, for non-English locales.  (Bug#26698)
parent 7e66aa48
......@@ -362,7 +362,8 @@ This variable is buffer-local."
" +\\)"
"\\(?:" (regexp-opt password-word-equivalents) "\\|Response\\)"
"\\(?:\\(?:, try\\)? *again\\| (empty for no passphrase)\\| (again)\\)?"
"\\(?: for .+\\)?[::៖]\\s *\\'")
;; "[[:alpha:]]" used to be "for", which fails to match non-English.
"\\(?: [[:alpha:]]+ .+\\)?[::៖]\\s *\\'")
"Regexp matching prompts for passwords in the inferior process.
This is used by `comint-watch-for-password-prompt'."
:version "26.1"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment