From a786ad9025d6c68e88b575b0fc86e9de7c210961 Mon Sep 17 00:00:00 2001 From: Kazu Yamamoto Date: Tue, 25 Mar 2014 10:35:07 +0900 Subject: [PATCH] fixing regex. --- elisp/ghc-check.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elisp/ghc-check.el b/elisp/ghc-check.el index 6b3dbeb..5e6d96c 100644 --- a/elisp/ghc-check.el +++ b/elisp/ghc-check.el @@ -94,7 +94,7 @@ (forward-line -1) (when (looking-at "^\\(OK\\|NG\\)$") (goto-char (point-min)) - (let ((regex "^\\(.*\\):\\([0-9]+\\):\\([0-9]+\\): *\\(.+\\)") + (let ((regex "^\\([^\n\0]*\\):\\([0-9]+\\):\\([0-9]+\\): *\\(.+\\)") info infos) (while (re-search-forward regex nil t) (setq info (ghc-make-hilit-info