From 7f5c471b0a4ff68536355c5bfc46b8dad4e96391 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Fri, 2 Sep 2022 08:47:03 +0300 Subject: [PATCH] GccParser: Remove stray escape in regex Change-Id: Id8ef3e0e85e71d46809297248e6592227866f7cc Reviewed-by: Christian Kandeler --- src/plugins/projectexplorer/gccparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/gccparser.cpp b/src/plugins/projectexplorer/gccparser.cpp index a722272ced2..89156eba228 100644 --- a/src/plugins/projectexplorer/gccparser.cpp +++ b/src/plugins/projectexplorer/gccparser.cpp @@ -17,7 +17,7 @@ using namespace Utils; // opt. drive letter + filename: (2 brackets) static const char FILE_PATTERN[] = "(|([A-Za-z]:)?[^:]+):"; -static const char COMMAND_PATTERN[] = "^(.*?[\\\\/])?([a-z0-9]+-[a-z0-9]+-[a-z0-9]+-)?(gcc|g\\+\\+)(-[0-9\\.]+)?(\\.exe)?: "; +static const char COMMAND_PATTERN[] = "^(.*?[\\\\/])?([a-z0-9]+-[a-z0-9]+-[a-z0-9]+-)?(gcc|g\\+\\+)(-[0-9.]+)?(\\.exe)?: "; GccParser::GccParser() {