Skip to content

Commit 98c37fe

Browse files
authored
Make warning detection regex more readable
1 parent a7b457b commit 98c37fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inf-haskell.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ The command can include arguments."
8181
;; The format of error messages used by Hugs.
8282
`(("^ERROR \"\\(.+?\\)\"\\(:\\| line \\)\\([0-9]+\\) - " 1 3)
8383
;; Format of error messages used by GHCi.
84-
("^\\(.+?\\):\\([0-9]+\\):\\(\\([0-9]+\\):\\)?\\( \\|\n *\\)\\(.arning\\)?"
84+
("^\\(.+?\\):\\([0-9]+\\):\\(\\([0-9]+\\):\\)?\\( \\|\n *\\)\\([Ww]arning\\)?"
8585
1 2 4 ,@(if (fboundp 'compilation-fake-loc)
8686
'((6) nil (5 '(face nil font-lock-multiline t)))))
8787
;; Runtime exceptions, from ghci.

0 commit comments

Comments
 (0)