changeset 36108:8b657bbc6608

(grep-regexp-alist): Remove the blank from the character class after the (optional) drive, to support file names with embedded blanks.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 16 Feb 2001 11:51:01 +0000
parents 0753236835ff
children f906b583d90f
files lisp/progmodes/compile.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/compile.el	Fri Feb 16 09:55:39 2001 +0000
+++ b/lisp/progmodes/compile.el	Fri Feb 16 11:51:01 2001 +0000
@@ -397,8 +397,10 @@
   :type 'boolean
   :group 'compilation)
 
+;; 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\n]+\\)[:( \t]+\\([0-9]+\\)[:) \t]" 1 2))
   "Regexp used to match grep hits.  See `compilation-error-regexp-alist'.")
 
 (defvar grep-program