mirror of
https://github.com/dense-analysis/ale
synced 2024-12-26 08:02:25 +00:00
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 []
|
||||
endif
|
||||
|
||||
let l:pattern = '\(.\+\) at \(.\+\) line \(\d\+\),'
|
||||
let l:pattern = '\(..\{-}\) at \(..\{-}\) line \(\d\+\)'
|
||||
let l:output = []
|
||||
let l:basename = expand('#' . a:buffer . ':t')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user