summaryrefslogtreecommitdiff
path: root/ale_linters/perl/perl.vim
diff options
context:
space:
mode:
authorMark Grimes <mgrimes@cpan.org>2018-12-16 17:01:24 -0500
committerMark Grimes <mgrimes@cpan.org>2018-12-16 17:01:24 -0500
commitebab81b22032d4287d452ea5b87c000c186e0e00 (patch)
treefa1ad592e6c50f952ec1c8333e31a80427e8f517 /ale_linters/perl/perl.vim
parent38d25fc7c04c19724f6be53b4c2de530dd55d671 (diff)
downloadale-ebab81b22032d4287d452ea5b87c000c186e0e00.zip
Use non-greedy matching instead of looking for the comma
Diffstat (limited to 'ale_linters/perl/perl.vim')
-rw-r--r--ale_linters/perl/perl.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/perl/perl.vim b/ale_linters/perl/perl.vim
index 131e7152..4b954f0d 100644
--- a/ale_linters/perl/perl.vim
+++ b/ale_linters/perl/perl.vim
@@ -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')