Use non-greedy matching instead of looking for the comma
This commit is contained in:
parent
38d25fc7c0
commit
ebab81b220
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
||||
|
|
Reference in a new issue