diff --git a/tomcat.py b/tomcat.py index 38f03c7..802e6a5 100755 --- a/tomcat.py +++ b/tomcat.py @@ -223,7 +223,7 @@ def get_error_page(self): def get_version(self): hdrs, data = self.get_error_page() for d in data: - s = re.findall('(Apache Tomcat/[0-9\.]+) ', d.data) + s = re.findall('(Apache Tomcat/[0-9.]+)', d.data) if len(s) > 0: return s[0]