From 150a796c9a983f2e7c10cf46863229fab97e2183 Mon Sep 17 00:00:00 2001 From: "Steve L. Nyemba" Date: Fri, 10 Mar 2017 00:56:50 -0600 Subject: [PATCH] Bug fix with display & format function --- src/monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/monitor.py b/src/monitor.py index 70c4ef3..9945a95 100755 --- a/src/monitor.py +++ b/src/monitor.py @@ -31,7 +31,7 @@ class Analysis: def getName(self): return self.__class__.__name__ def cleanup(self,text): - return re.sub('([0-9]+[a-zA-Z]*)|[^a-zA-Z\s:]',' ',str(text)).strip() + return re.sub('[^a-zA-Z0-9\s:]',' ',str(text)).strip() """