Variable: grep-compilation-transform-finished-rules

grep-compilation-transform-finished-rules is a variable defined in grep.el.gz.

Value

(("^Grep[/a-zA-Z]* finished with \\(?:\\(\\(?:[0-9]+ \\)?match\\(?:es\\)? found\\)\\|\\(no matches found\\)\\).*")
 ("^Grep[/a-zA-Z]* \\(exited abnormally\\|interrupt\\|killed\\|terminated\\)\\(?:.*with code \\([0-9]+\\)\\)?.*"))

Documentation

Rules added to compilation-transform-file-match-alist in grep-mode These prevent the "Grep finished" lines from being misinterpreted as matches (bug#77732).

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/grep.el.gz
(defvar grep-compilation-transform-finished-rules
  '(("^Grep[/a-zA-Z]* finished with \\(?:\\(\\(?:[0-9]+ \\)?match\\(?:es\\)? found\\)\\|\\(no matches found\\)\\).*" . nil)
    ("^Grep[/a-zA-Z]* \\(exited abnormally\\|interrupt\\|killed\\|terminated\\)\\(?:.*with code \\([0-9]+\\)\\)?.*" . nil))
  "Rules added to `compilation-transform-file-match-alist' in `grep-mode'
These prevent the \"Grep finished\" lines from being misinterpreted as
matches (bug#77732).")