mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-24 10:38:38 +00:00
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
@ -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…
Reference in New Issue
Block a user