Mercurial > emacs
changeset 56155:95c33e716dd3
(grep-regexp-alist): Match columns and column ranges, if present.
author | Daniel Pfeiffer <occitan@esperanto.org> |
---|---|
date | Fri, 18 Jun 2004 23:01:30 +0000 |
parents | 0faa9af73cb1 |
children | 698bb0e02eba |
files | lisp/progmodes/grep.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/grep.el Fri Jun 18 23:00:46 2004 +0000 +++ b/lisp/progmodes/grep.el Fri Jun 18 23:01:30 2004 +0000 @@ -216,7 +216,7 @@ `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'.")