* progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
commit56c6a28d018e8735b14e9bf170c3867cc48374fc
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 26 Sep 2014 18:32:48 +0000 (26 11:32 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 26 Sep 2014 18:32:48 +0000 (26 11:32 -0700)
tree248df227c53c82972a489daa347c5fba6b9c8c96
parent1f9f052c6def2f0d4c19161d6d64979d1e8aa96a
* progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.

Do not match file names that end in '/', as they cannot be 'grep'
hits nowadays.  This prevents confusion when 'grep -r' reports a
match in a file whose basename is ':12345:'.  Conversely, do not
require exactly the same sequence of spaces and tabs after both
colons, and allow spaces or tabs before the second colon, as per
the POSIX spec for 'grep' output.
lisp/ChangeLog
lisp/progmodes/grep.el