diff --git a/server/datedetector.py b/server/datedetector.py index c47a67c4..2a69a651 100644 --- a/server/datedetector.py +++ b/server/datedetector.py @@ -46,7 +46,7 @@ class DateDetector: # standard template = DateStrptime() template.setName("Month Day Hour:Minute:Second") - template.setRegex("^\S{3}\s{1,2}\d{1,2} \d{2}:\d{2}:\d{2}") + template.setRegex("\S{3}\s{1,2}\d{1,2} \d{2}:\d{2}:\d{2}") template.setPattern("%b %d %H:%M:%S") self.__templates.append(template) # asctime