and we have a better regex

This commit is contained in:
Stephen Smoogen 2017-01-31 21:12:55 +00:00
parent 5cb0d4c242
commit 5847868496

View file

@ -34,7 +34,7 @@ out which releases and architectures were looked for, and by how much.
'''
log_line = [
r"(?P<host>[\d\.]+)\s",
r"(?P<host>([\d\.]+|[0-9a-fA-F\:]+))\s",
r"(?P<identity>\S*)\s",
r"(?P<user>\S*)\s",
r"\[(?P<time>.*?)\]\s",