From 65de58c3a72ace0198ea51f9f32038a532fdb348 Mon Sep 17 00:00:00 2001 From: Alex Efros Date: Sun, 7 Dec 2014 14:15:16 +0200 Subject: [PATCH] fix file/line detection for perl --- autoload/syntastic/preprocess.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/syntastic/preprocess.vim b/autoload/syntastic/preprocess.vim index 441b388f..e0139f2f 100644 --- a/autoload/syntastic/preprocess.vim +++ b/autoload/syntastic/preprocess.vim @@ -131,7 +131,7 @@ function! syntastic#preprocess#perl(errors) " {{{2 let out = [] for e in a:errors - let parts = matchlist(e, '\v^(.*)\sat\s(.*)\sline\s(\d+)(.*)$') + let parts = matchlist(e, '\v^(.*)\sat\s(.{-})\sline\s(\d+)(.*)$') if !empty(parts) call add(out, parts[2] . ':' . parts[3] . ':' . parts[1] . parts[4]) endif