mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-11 07:39:14 +08:00
Use non-greedy matching instead of looking for the comma
This commit is contained in:
1 parent
38d25fc7c0
commit
ebab81b220
1 file changed
+1
-1
@@ -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 new issue
Block a user