• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/emacs-92/emacs/lisp/net/

Lines Matching defs:regexp

210       :type '(repeat (cons (regexp :tag "Regexp matching filename")
229 (list (regexp :tag "File regexp")
742 :type '(repeat (list (regexp :tag "Host regexp")
743 (regexp :tag "User regexp")
894 (defcustom tramp-login-prompt-regexp
897 The regexp should match at end of buffer.
901 :type 'regexp)
914 :type 'regexp)
916 (defcustom tramp-password-prompt-regexp
919 The regexp should match at end of buffer.
923 :type 'regexp)
925 (defcustom tramp-wrong-passwd-regexp
928 (regexp-opt '("Permission denied."
943 The regexp should match at end of buffer."
945 :type 'regexp)
947 (defcustom tramp-yesno-prompt-regexp
949 (regexp-opt '("Are you sure you want to continue connecting (yes/no)?") t)
953 The regexp should match at end of buffer.
954 See also `tramp-yn-prompt-regexp'."
956 :type 'regexp)
958 (defcustom tramp-yn-prompt-regexp
960 (regexp-opt '("Store key in cache? (y/n)"
965 The regexp should match at end of buffer.
966 See also `tramp-yesno-prompt-regexp'."
968 :type 'regexp)
970 (defcustom tramp-terminal-prompt-regexp
977 The regexp should match at end of buffer.
980 :type 'regexp)
982 (defcustom tramp-operation-not-permitted-regexp
984 (regexp-opt '("Operation not permitted") t))
989 :type 'regexp)
991 (defcustom tramp-copy-failed-regexp
993 (regexp-opt '("Permission denied"
1000 :type 'regexp)
1002 (defcustom tramp-process-alive-regexp
1010 :type 'regexp)
1051 (defcustom tramp-prefix-regexp
1052 (concat "^" (regexp-quote tramp-prefix-format))
1056 :type 'regexp)
1058 (defcustom tramp-method-regexp
1062 :type 'regexp)
1074 (defcustom tramp-postfix-single-method-regexp
1075 (regexp-quote tramp-postfix-single-method-format)
1080 :type 'regexp)
1090 (defcustom tramp-postfix-multi-method-regexp
1091 (regexp-quote tramp-postfix-multi-method-format)
1096 :type 'regexp)
1106 (defcustom tramp-postfix-multi-hop-regexp
1107 (regexp-quote tramp-postfix-multi-hop-format)
1112 :type 'regexp)
1114 (defcustom tramp-user-regexp
1118 :type 'regexp)
1127 (defcustom tramp-postfix-user-regexp
1128 (regexp-quote tramp-postfix-user-format)
1132 :type 'regexp)
1134 (defcustom tramp-host-regexp
1138 :type 'regexp)
1140 (defcustom tramp-host-with-port-regexp
1144 :type 'regexp)
1153 (defcustom tramp-postfix-host-regexp
1154 (regexp-quote tramp-postfix-host-format)
1158 :type 'regexp)
1160 (defcustom tramp-localname-regexp
1164 :type 'regexp)
1171 tramp-prefix-regexp
1172 "\\(" "\\(" tramp-method-regexp "\\)" tramp-postfix-single-method-regexp "\\)?"
1173 "\\(" "\\(" tramp-user-regexp "\\)" tramp-postfix-user-regexp "\\)?"
1174 "\\(" tramp-host-with-port-regexp "\\)" tramp-postfix-host-regexp
1175 "\\(" tramp-localname-regexp "\\)")
1192 See also `tramp-file-name-regexp'."
1194 :type '(list (regexp :tag "File name regexp")
1201 (defconst tramp-file-name-regexp-unified
1203 "Value for `tramp-file-name-regexp' for unified remoting.
1208 (defconst tramp-file-name-regexp-separate
1210 "Value for `tramp-file-name-regexp' for separate remoting.
1215 (defcustom tramp-file-name-regexp
1217 tramp-file-name-regexp-unified
1218 tramp-file-name-regexp-separate)
1220 This regexp should match tramp file names but no other file names.
1234 :type 'regexp)
1237 (defconst tramp-completion-file-name-regexp-unified
1239 "Value for `tramp-completion-file-name-regexp' for unified remoting.
1244 (defconst tramp-completion-file-name-regexp-separate
1246 "Value for `tramp-completion-file-name-regexp' for separate remoting.
1251 (defcustom tramp-completion-file-name-regexp
1253 tramp-completion-file-name-regexp-unified
1254 tramp-completion-file-name-regexp-separate)
1256 This regexp should match partial tramp file names only.
1265 :type 'regexp)
1270 tramp-prefix-regexp
1271 "\\(" "\\(" tramp-method-regexp "\\)" "\\)?"
1272 "\\(" "\\(" tramp-postfix-multi-hop-regexp "%s" "\\)+" "\\)?"
1273 tramp-postfix-host-regexp "\\(" tramp-localname-regexp "\\)")
1294 I think it would be good if the regexp matches the whole of the
1297 :type '(list (regexp :tag "File name regexp")
1305 "\\(" tramp-method-regexp "\\)" tramp-postfix-multi-method-regexp
1306 "\\(" tramp-user-regexp "\\)" tramp-postfix-user-regexp
1307 "\\(" tramp-host-with-port-regexp "\\)")
1317 :type '(list (regexp :tag "Hop regexp")
1373 '((tramp-password-prompt-regexp tramp-action-password)
1374 (tramp-login-prompt-regexp tramp-action-login)
1377 (tramp-wrong-passwd-regexp tramp-action-permission-denied)
1378 (tramp-yesno-prompt-regexp tramp-action-yesno)
1379 (tramp-yn-prompt-regexp tramp-action-yn)
1380 (tramp-terminal-prompt-regexp tramp-action-terminal)
1381 (tramp-process-alive-regexp tramp-action-process-alive))
1388 regexp must match at the end of the buffer, \"\\'\" is implicitly
1397 '((tramp-password-prompt-regexp tramp-action-password)
1398 (tramp-wrong-passwd-regexp tramp-action-permission-denied)
1399 (tramp-copy-failed-regexp tramp-action-copy-failed)
1400 (tramp-process-alive-regexp tramp-action-out-of-band))
1408 '((tramp-password-prompt-regexp tramp-multi-action-password)
1409 (tramp-login-prompt-regexp tramp-multi-action-login)
1412 (tramp-wrong-passwd-regexp tramp-multi-action-permission-denied)
1413 (tramp-process-alive-regexp tramp-multi-action-process-alive))
1993 Used for file names matching `tramp-file-name-regexp'. Operations not
2718 ;; (eq (string-match tramp-file-name-regexp directory) 0)
3112 (re-search-forward tramp-operation-not-permitted-regexp nil t))
3372 (list (concat (regexp-quote (nth 1 x)) "\\'")
3693 (regexp-quote tramp-end-of-output) string)))
4259 ;; function as well but regexp only.
4302 ((string-match tramp-file-name-regexp (nth 0 args)) (nth 0 args))
4303 ((string-match tramp-file-name-regexp (nth 1 args)) (nth 1 args))
4428 (cons tramp-file-name-regexp 'tramp-file-name-handler))
4446 (cons tramp-completion-file-name-regexp
4545 ;; Necessary because `tramp-file-name-regexp-unified' and
4546 ;; `tramp-completion-file-name-regexp-unified' aren't different.
4556 ;; necessary, because there are different regexp).
4563 (concat tramp-prefix-regexp
4564 "\\(" tramp-method-regexp "\\)" tramp-postfix-single-method-regexp "$")
4711 (list (concat tramp-prefix-regexp "\\(" tramp-method-regexp x-nil "\\)$")
4715 (list (concat tramp-prefix-regexp "\\(" tramp-user-regexp x-nil "\\)$")
4719 (list (concat tramp-prefix-regexp "\\(" tramp-host-regexp x-nil "\\)$")
4723 (list (concat tramp-prefix-regexp
4724 "\\(" tramp-user-regexp "\\)" tramp-postfix-user-regexp
4725 "\\(" tramp-host-regexp x-nil "\\)$")
4729 (list (concat tramp-prefix-regexp
4730 "\\(" tramp-method-regexp "\\)" tramp-postfix-single-method-regexp
4731 "\\(" tramp-user-regexp x-nil "\\)$")
4735 (list (concat tramp-prefix-regexp
4736 "\\(" tramp-method-regexp "\\)" tramp-postfix-single-method-regexp
4737 "\\(" tramp-host-regexp x-nil "\\)$")
4741 (list (concat tramp-prefix-regexp
4742 "\\(" tramp-method-regexp "\\)" tramp-postfix-single-method-regexp
4743 "\\(" tramp-user-regexp "\\)" tramp-postfix-user-regexp
4744 "\\(" tramp-host-regexp x-nil "\\)$")
4747 (mapcar (lambda (regexp)
4749 (tramp-completion-dissect-file-name1 regexp name)))
4800 (string-match (concat "^" (regexp-quote partial-method)) method)
4812 (string-match (concat "^" (regexp-quote partial-host)) host)
4821 (and user (string-match (concat "^" (regexp-quote partial-user)) user))
4827 (and host (string-match (concat "^" (regexp-quote partial-host)) host))
4861 (regexp
4863 "^\\(" tramp-host-regexp "\\)"
4864 "\\([ \t]+" "\\(" tramp-user-regexp "\\)" "\\)?")))
4867 (when (re-search-forward regexp nil t)
4891 (regexp (concat "^\\(" tramp-host-regexp "\\)")))
4894 (when (re-search-forward regexp nil t)
4920 (regexp (concat "^[ \t]*Host[ \t]+" "\\(" tramp-host-regexp "\\)")))
4923 (when (re-search-forward regexp nil t)
4935 (let ((regexp (concat "^key_[0-9]+_\\(" tramp-host-regexp "\\)\\.pub$"))
4940 (when (string-match regexp (car files))
4949 (let ((regexp (concat "^\\(" tramp-host-regexp
4955 (when (string-match regexp (car files))
4978 (regexp (concat "^\\(" tramp-host-regexp "\\)")))
4981 (when (re-search-forward regexp nil t)
5014 (regexp (concat "^\\(" tramp-user-regexp "\\):")))
5017 (when (re-search-forward regexp nil t)
5041 (regexp
5043 "^[ \t]*machine[ \t]+" "\\(" tramp-host-regexp "\\)"
5044 "\\([ \t]+login[ \t]+" "\\(" tramp-user-regexp "\\)" "\\)?")))
5047 (when (re-search-forward regexp nil t)
5522 (if (re-search-forward tramp-operation-not-permitted-regexp nil t)
5582 (tramp-message 10 "Looking for regexp \"%s\" from remote shell"
5625 (tramp-message 10 "Looking for regexp \"%s\" from remote shell"
5821 (unless (or (string-match (concat "^" (regexp-quote host))
5913 (unless (tramp-wait-for-regexp
6022 (defun tramp-wait-for-regexp (proc timeout regexp)
6042 (setq found (re-search-forward regexp nil t))))))
6049 (setq found (re-search-forward regexp nil t)))))
6061 (insert "[[Regexp `" regexp "' not found"
6068 See `tramp-wait-for-regexp' for more details.
6071 (tramp-wait-for-regexp
6319 (looking-at (format "\n%s\r?\n" (regexp-quote tramp-end-of-output))))
6412 (unless (looking-at (regexp-quote magic-string))
6517 (unless (looking-at (regexp-quote magic))
6655 (regexp-quote tramp-end-of-output)
6696 (when (looking-at (regexp-quote tramp-last-cmd))
6985 (string-match tramp-file-name-regexp name)))
7044 (let ((regexp (nth 0 tramp-multi-file-name-structure))
7048 (hop-regexp (nth 0 tramp-multi-file-name-hop-structure))
7053 (unless (string-match (format regexp hop-regexp) name)
7061 (while (string-match hop-regexp hops index)
7287 (while (string-match (regexp-quote from) string)
7446 (nl (regexp-quote (format "\\%s" tramp-rsh-end-of-line))))
7542 tramp-login-prompt-regexp
7544 (tramp-password-prompt-regexp . tramp-reporter-dump-variable)
7545 tramp-wrong-passwd-regexp
7546 tramp-yesno-prompt-regexp
7547 tramp-yn-prompt-regexp
7548 tramp-terminal-prompt-regexp
7551 tramp-file-name-regexp
7666 (let* ((tramp-buf-regexp "\\*\\(debug \\)?tramp/")
7670 (when (string-match tramp-buf-regexp (buffer-name b)) b))
7681 (if (re-search-forward tramp-buf-regexp (tramp-point-at-eol) t)