From 215a53dbee72aee5d2011bbcbec315cc63c03d57 Mon Sep 17 00:00:00 2001 From: Erik Osheim Date: Sat, 27 Mar 2010 23:06:27 -0400 Subject: [PATCH] allow -merror to understand grep -n --HG-- branch : pmacs2 --- mode/error.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mode/error.py b/mode/error.py index e487a0b..ad0fa84 100644 --- a/mode/error.py +++ b/mode/error.py @@ -7,7 +7,7 @@ _error_regexes = [ r'File "(?P.+?)", line (?P\d+)(?:, in \S+)?$', #python r'^(?P\S+?):(?P\d+):', #javac/gcc r'at \S+\((?P.+?):(?P\d+)\)$', #java - r'^(?P\d+):', #grep + r'^(?P\S+?):(?P\d+) ', #grep ] error_regexes = [re.compile(s) for s in _error_regexes]