diff --git a/tools/analysis.sh b/tools/analysis.sh
index fd3cbbf03aa23b7e9e07a2ed9a49b30aaa2076b9..dd928ee38c08b817b0acdd6644c1c77f65589da2 100755
--- a/tools/analysis.sh
+++ b/tools/analysis.sh
@@ -39,7 +39,7 @@ sonar.c.includeDirectories=$(echo | gcc -E -Wp,-v - 2>&1 | grep "^ " | tr '\n' '
 sonar.sourceEncoding=UTF-8
 sonar.c.compiler.charset=UTF-8
 sonar.c.compiler.parser=GCC
-sonar.c.compiler.regex=^(.*):(\\d+):\\d+: warning: (.*)\\[(.*)\\]$
+sonar.c.compiler.regex=^(.*):(\\\d+):\\\d+: warning: (.*)\\\[(.*)\\\]$
 sonar.c.compiler.reportPath=chameleon_starpu.log, chameleon_starpu_simgrid.log, chameleon_quark.log, chameleon_parsec.log
 sonar.c.coverage.reportPath=chameleon_coverage.xml
 sonar.c.cppcheck.reportPath=chameleon_cppcheck.xml