Variable: hpath:mswindows-drive-regexp

hpath:mswindows-drive-regexp is a variable defined in hpath.el.

Value

"\\`\\(/mnt/\\)?[\\/]?\\([a-zA-Z]\\)[:\\/]"

Documentation

Regular expression matching an MSWindows drive letter.

Matches at the beginning of a path string. Grouping 2 is the actual letter of the drive. If the value of hpath:mswindows-mount-prefix changes, then re-initialize this constant.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hpath.el
(defconst hpath:mswindows-drive-regexp (format "\\`\\(%s\\)?[\\/]?\\([a-zA-Z]\\)[:\\/]"
					       hpath:mswindows-mount-prefix)
  "Regular expression matching an MSWindows drive letter.
Matches at the beginning of a path string.  Grouping 2 is the
actual letter of the drive.  If the value of
`hpath:mswindows-mount-prefix' changes, then re-initialize this
constant.")