Commit 186ac3d4 authored by Daniel Pfeiffer's avatar Daniel Pfeiffer
Browse files

(grep-regexp-alist): Match columns and column ranges, if present.

parent c0090c20
......@@ -216,7 +216,7 @@ Notice that using \\[next-error] or \\[compile-goto-error] modifies
`complation-last-buffer' rather than `grep-last-buffer'.")
(defvar grep-regexp-alist
'(("^\\(.+?\\)[:( \t]+\\([0-9]+\\)[:) \t]" 1 2)
'(("^\\(.+?\\)[:( \t]+\\([0-9]+\\)\\([:) \t]\\)\\(?:\\([0-9]+\\)\\(?:-\\([0-9]+\\)\\)?\\3\\)?" 1 2 (4 . 5))
("^Binary file \\(.+\\) matches$" 1 nil nil 1))
"Regexp used to match grep hits. See `compilation-error-regexp-alist'.")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment