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]