diff options
author | Casey Deccio <casey@deccio.net> | 2016-08-19 17:46:35 +0300 |
---|---|---|
committer | Casey Deccio <casey@deccio.net> | 2016-08-19 17:46:35 +0300 |
commit | d92dfe04cb144081c3eb1a4ebecfecf46998e61a (patch) | |
tree | 15a19dcb2bffc643a4708449806e877d51f6fa3e | |
parent | 965e24371e22ccdc2ecac73cade53614b6040fc5 (diff) |
Consider multiple lists
-rw-r--r-- | dnsviz/commands/grok.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dnsviz/commands/grok.py b/dnsviz/commands/grok.py index 23f53ec..8c6625b 100644 --- a/dnsviz/commands/grok.py +++ b/dnsviz/commands/grok.py @@ -82,7 +82,7 @@ TERM_COLOR_MAP = { KEY_RE = re.compile(r'^((?P<indent>\s+)")(.+)(": [\[{"])') ERRORS_RE = re.compile(r'^((?P<indent>\s+)")((?P<level>warning|error)s?)(": \[)$') -ERRORS_CLOSE_RE = re.compile(r'^(?P<indent>\s+)]$') +ERRORS_CLOSE_RE = re.compile(r'^(?P<indent>\s+)],?$') DESCRIPTION_CODE_RE = re.compile(r'^((?P<indent>\s+)")(?P<name>description|code)(": ")(.+)(",?)$') STATUS_RE = re.compile(r'^(?P<indent>\s+)("status": ")(?P<status>.+)(",?)') |