Broaden comint-password-prompt-regexp
* lisp/comint.el (comint-password-prompt-regexp): Broaden the regexp, for non-English locales. (Bug#26698)
This commit is contained in:
parent
7e66aa48c4
commit
6a3f331565
1 changed files with 2 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue