diff --git a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/errorparsers/RegexErrorPattern.java b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/errorparsers/RegexErrorPattern.java index 5683e49411f..98108d1c732 100644 --- a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/errorparsers/RegexErrorPattern.java +++ b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/errorparsers/RegexErrorPattern.java @@ -277,9 +277,9 @@ public class RegexErrorPattern implements Cloneable { */ public boolean processLine(String line, ErrorParserManager eoParser) { Matcher matcher = getMatcher(line); - // pattern should cover the whole line - if (!(matcher.find() && matcher.group(0).length()==line.length())) + if (!matcher.matches()) { return false; + } recordError(matcher, eoParser); return eatProcessedLine;