Variable: hpath:section-line-and-column-regexp

hpath:section-line-and-column-regexp is a variable defined in hpath.el.

Value

"\\([^  \n
\f:][^	\n
\f:]+\\(:[^0-9	\n
\f]*\\)*\\):L?\\([0-9]+\\)\\(:C?\\([0-9]+\\)\\)?$"

Documentation

Regexp that matches to a path with optional #section and :line:col.

Grouping 1 is path, grouping 3 is line number, grouping 4 is column number. Allow for 'c:' single letter drive prefixes on MSWindows and Elisp vars with colons in them. Line and column can include a leading and optional character, L for line and C for column.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hpath.el
(defconst hpath:section-line-and-column-regexp
  "\\([^ \t\n\r\f:][^\t\n\r\f:]+\\(:[^0-9\t\n\r\f]*\\)*\\):L?\\([0-9]+\\)\\(:C?\\([0-9]+\\)\\)?$"
  "Regexp that matches to a path with optional #section and :line:col.
Grouping 1 is path, grouping 3 is line number, grouping 4 is column
number.  Allow for \\='c:' single letter drive prefixes on MSWindows and
Elisp vars with colons in them.  Line and column can include a leading
and optional character, L for line and C for column.")