diff options
author | Daniel Pfeiffer <occitan@esperanto.org> | 2004-06-18 23:01:30 +0000 |
---|---|---|
committer | Daniel Pfeiffer <occitan@esperanto.org> | 2004-06-18 23:01:30 +0000 |
commit | 186ac3d480fe5540301eb64aa25016e83d96ec96 (patch) | |
tree | 04ee15978c28095a1a8b5a1a6a0fe80461ba455f | |
parent | c0090c20f88d1e8c99e9823db5b9cc25d98672bc (diff) | |
download | emacs-186ac3d480fe5540301eb64aa25016e83d96ec96.tar.gz |
(grep-regexp-alist): Match columns and column ranges, if present.
-rw-r--r-- | lisp/progmodes/grep.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index aa81f8aa770..aa9a50a2580 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el @@ -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'.") |