aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/grep.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index da09c900e58..0bfabd5f3fe 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -379,7 +379,9 @@ Notice that using \\[next-error] or \\[compile-goto-error] modifies
379 ;; to handle weird file names (with colons in them) as 379 ;; to handle weird file names (with colons in them) as
380 ;; well as possible. E.g., use [1-9][0-9]* rather than 380 ;; well as possible. E.g., use [1-9][0-9]* rather than
381 ;; [0-9]+ so as to accept ":034:" in file names. 381 ;; [0-9]+ so as to accept ":034:" in file names.
382 "\\(?1:[^\n:]+?[^\n/:]\\):[\t ]*\\(?2:[1-9][0-9]*\\)[\t ]*:" 382 "\\(?1:"
383 "\\(?:[a-zA-Z]:\\)?" ; Allow "C:..." for w32.
384 "[^\n:]+?[^\n/:]\\):[\t ]*\\(?2:[1-9][0-9]*\\)[\t ]*:"
383 "\\)") 385 "\\)")
384 1 2 386 1 2
385 ;; Calculate column positions (col . end-col) of first grep match on a line 387 ;; Calculate column positions (col . end-col) of first grep match on a line