--- a/incoming.py Mon Jul 04 19:30:20 2016 +0800
+++ b/incoming.py Tue Jul 05 07:26:52 2016 +0800
(r'^[EWFCN]\d{3}', 'warning'),
(r'^\[error\]', 'error'),
(r'^\[warning\]', 'warning'),
(r'^\(E\d{3}\)', 'error'),
(r'^\(W\d{3}\)', 'warning'),
+ (r'.* \(E\d{3}\)$', 'error'),
+ (r'.* \(W\d{3}\)$', 'warning'),
for regex, cls in patterns: