소스 검색

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