Mercurial > emacs
diff lisp/ediff-diff.el @ 20343:4327dd36b71b
new version
| author | Michael Kifer <kifer@cs.stonybrook.edu> |
|---|---|
| date | Tue, 25 Nov 1997 02:10:08 +0000 |
| parents | f44ff2c52fac |
| children | 7a38d5342931 |
line wrap: on
line diff
--- a/lisp/ediff-diff.el Mon Nov 24 20:16:20 1997 +0000 +++ b/lisp/ediff-diff.el Tue Nov 25 02:10:08 1997 +0000 @@ -133,14 +133,24 @@ ;;; General (defvar ediff-diff-ok-lines-regexp - "^\\([0-9,]+[acd][0-9,]+$\\|[<>] \\|---\\|.*Warning *:\\|.*No +newline\\|.*missing +newline\\|^\C-m$\\)" + (concat + "^\\(" + "[0-9,]+[acd][0-9,]+\C-m?$" + "\\|[<>] " + "\\|---" + "\\|.*Warning *:" + "\\|.*No +newline" + "\\|.*missing +newline" + "\\|^\C-m?$" + "\\)") "Regexp that matches normal output lines from `ediff-diff-program'. This is mostly lifted from Emerge, except that Ediff also considers warnings and `Missing newline'-type messages to be normal output. Lines that do not match are assumed to be error messages.") -(defvar ediff-match-diff-line (let ((x "\\([0-9]+\\)\\(\\|,\\([0-9]+\\)\\)")) - (concat "^" x "\\([acd]\\)" x "$")) +(defvar ediff-match-diff-line + (let ((x "\\([0-9]+\\)\\(\\|,\\([0-9]+\\)\\)")) + (concat "^" x "\\([acd]\\)" x "\C-m?$")) "Pattern to match lines produced by diff that describe differences.") (ediff-defvar-local ediff-setup-diff-regions-function nil
