# HG changeset patch # User Stefan Monnier # Date 1076271345 0 # Node ID 823980f7d612d0ea4ca5f530b53c3e44ae10999f # Parent d19a78b5f1e5d9b5b46fe085e4e924484f7e991a (grep-regexp-alist): Allow :, \t and ( in file names. diff -r d19a78b5f1e5 -r 823980f7d612 lisp/progmodes/grep.el --- 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 @@ -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