Variable: hpath:url-regexp3

hpath:url-regexp3 is a variable defined in hpath.el.

Value

"<?\\(URL[:=]\\)\\(\\(\\)\\(\\)\\([a-zA-Z0-9][^/:@   \n
\"`'|]*\\.[^/:@     \n
\"`'|]+\\):?\\([0-9]+\\)?\\([/~]\\([^][     \n
\"`'|(){}<>]+[^][     \n
\"`'|(){}<>.,?#!*]\\)*\\)?\\)>?"

Documentation

Regular expression which matches a Url in a string or buffer.

Its match groupings and their names are:
  1 = hpath:url-keyword-grpn = required URL: or URL= literal
  2 = hpath:url-grpn = the whole URL
  3 = unused = for compatibility with hpath:url-regexp
  4 = unused = for compatibility with hpath:url-regexp
  5 = hpath:sitename-grpn = URL site to connect to
  6 = hpath:hostname-grpn = hostname used to determine the access
      protocol, e.g. ftp.domain.com
  7 = hpath:portnumber-grpn = optional port number to use
  8 = hpath:pathname-grpn = optional pathname to access.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hpath.el
(defvar hpath:url-regexp3
  (concat
   "<?\\(URL[:=]\\)\\(\\(\\)\\(\\)"
   "\\([a-zA-Z0-9][^/:@ \t\n\r\"`'|]*\\.[^/:@ \t\n\r\"`'|]+\\)"
   ":?\\([0-9]+\\)?\\([/~]\\([^\]\[ \t\n\r\"`'|(){}<>]+[^\]\[ \t\n\r\"`'|(){}<>.,?#!*]\\)*\\)?\\)>?")
  "Regular expression which matches a Url in a string or buffer.
Its match groupings and their names are:
  1 = hpath:url-keyword-grpn = required `URL:' or `URL=' literal
  2 = hpath:url-grpn         = the whole URL
  3 = unused                 = for compatibility with hpath:url-regexp
  4 = unused                 = for compatibility with hpath:url-regexp
  5 = hpath:sitename-grpn    = URL site to connect to
  6 = hpath:hostname-grpn    = hostname used to determine the access
      protocol, e.g. ftp.domain.com
  7 = hpath:portnumber-grpn  = optional port number to use
  8 = hpath:pathname-grpn    = optional pathname to access.")