From a60c46175da0e5213d5ca8472886919516d6ac62 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sun, 8 Feb 2004 20:15:45 +0000 Subject: [PATCH] (grep-regexp-alist): Allow :, \t and ( in file names. --- lisp/progmodes/grep.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2