and we have a better regex
This commit is contained in:
parent
5cb0d4c242
commit
5847868496
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue