Use non-greedy matching instead of looking for the comma
This commit is contained in:
parent
38d25fc7c0
commit
ebab81b220
@ -18,7 +18,7 @@ function! ale_linters#perl#perl#Handle(buffer, lines) abort
|
|||||||
return []
|
return []
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let l:pattern = '\(.\+\) at \(.\+\) line \(\d\+\),'
|
let l:pattern = '\(..\{-}\) at \(..\{-}\) line \(\d\+\)'
|
||||||
let l:output = []
|
let l:output = []
|
||||||
let l:basename = expand('#' . a:buffer . ':t')
|
let l:basename = expand('#' . a:buffer . ':t')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user