From: Stefan Monnier Date: Sun, 8 Feb 2004 20:15:45 +0000 (+0000) Subject: (grep-regexp-alist): Allow :, \t and ( in file names. X-Git-Tag: ttn-vms-21-2-B4~7715 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a60c46175da0e5213d5ca8472886919516d6ac62;p=emacs.git (grep-regexp-alist): Allow :, \t and ( in file names. --- diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index 279d7211cdd..fd68dd64b41 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el @@ -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 @@ -216,7 +216,7 @@ Notice that using \\[next-error] or \\[compile-goto-error] modifies ;; 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