浏览代码

Bug fix with display & format function

Steve L. Nyemba 8 年之前
父节点
当前提交
150a796c9a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/monitor.py

+ 1 - 1
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()
 		
 
 """