Variable: tramp-ipv6-regexp
tramp-ipv6-regexp is a variable defined in tramp.el.gz.
Value
"\\(?:[[:alnum:]]*:\\)+[.[:alnum:]]*"
Documentation
Regexp matching IPv6 addresses.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
;; The following regexp is a bit sloppy. But it shall serve our
;; purposes. It covers also IPv4 mapped IPv6 addresses, like in
;; "::ffff:192.168.0.1".
(defconst tramp-ipv6-regexp (rx (+ (* alnum) ":") (* (any "." alnum)))
"Regexp matching IPv6 addresses.")