Mercurial > emacs
changeset 53851:823980f7d612
(grep-regexp-alist): Allow :, \t and ( in file names.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sun, 08 Feb 2004 20:15:45 +0000 |
parents | d19a78b5f1e5 |
children | f2815a01829d |
files | lisp/progmodes/grep.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/grep.el Sun Feb 08 15:30:42 2004 +0000 +++ b/lisp/progmodes/grep.el Sun Feb 08 20:15:45 2004 +0000 @@ -1,6 +1,6 @@ ;;; grep.el --- run compiler as inferior of Emacs, parse error messages -;; Copyright (C) 1985, 86, 87, 93, 94, 95, 96, 97, 98, 1999, 2001, 2002 +;; Copyright (C) 1985, 86, 87, 93, 94, 95, 96, 97, 98, 1999, 2001, 02, 2004 ;; Free Software Foundation, Inc. ;; Author: Roland McGrath <roland@gnu.org> @@ -216,7 +216,7 @@ ;; Note: the character class after the optional drive letter does not ;; include a space to support file names with blanks. (defvar grep-regexp-alist - '(("\\([a-zA-Z]?:?[^:(\t\n]+\\)[:( \t]+\\([0-9]+\\)[:) \t]" 1 2)) + '(("\\([a-zA-Z]?:?.+?\\)[:( \t]+\\([0-9]+\\)[:) \t]" 1 2)) "Regexp used to match grep hits. See `compilation-error-regexp-alist'.") (defvar grep-program