diff --git a/lib/core/settings.py b/lib/core/settings.py
index df40a0ddd..19d0eea6c 100644
--- a/lib/core/settings.py
+++ b/lib/core/settings.py
@@ -322,7 +322,7 @@ FILE_PATH_REGEXES = (r"(?P[^<>]+?) on line \d+", r"in (?P
# Regular expressions used for parsing error messages (--parse-errors)
ERROR_PARSING_REGEXES = (
r"[^<]*(fatal|error|warning|exception)[^<]*:?\s*(?P.+?)
",
- r"(?m)^(fatal|error|warning|exception):?\s*(?P[^\n]+?)$",
+ r"(?m)^\s*(fatal|error|warning|exception):?\s*(?P[^\n]+?)$",
r"(?P[^\n>]*SQL Syntax[^\n<]+)",
r"Error Type:
(?P.+?)",
r"CDbCommand (?P[^<>\n]*SQL[^<>\n]+)",
diff --git a/txt/checksum.md5 b/txt/checksum.md5
index 59f5f6859..c248aa2a5 100644
--- a/txt/checksum.md5
+++ b/txt/checksum.md5
@@ -46,7 +46,7 @@ ffa5f01f39b17c8d73423acca6cfe86a lib/core/readlineng.py
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
-00642325552444173985fa13b74f5b3f lib/core/settings.py
+bae0e851c66391ef08200e29dc75e64f lib/core/settings.py
0dfc2ed40adf72e302291f6ecd4406f6 lib/core/shell.py
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
12f8c42ed742581644f6476a7d80dcf8 lib/core/target.py