Fix dig coloring single chars

This commit is contained in:
Isaias Pina 2018-05-14 14:42:12 -05:00
parent 92aac170d0
commit 4c8b5a799a
No known key found for this signature in database
GPG Key ID: CE80D641186B6F3D
1 changed files with 17 additions and 25 deletions

View File

@ -1,31 +1,23 @@
#ipv6
regexp=(([0-9a-fA-F]{1,4})?\:\:?[0-9a-fA-F]{1,4})+
colours=green
=======
#time
regexp=\s[0-9]{1,6}\s
colours=red
=======
#type
regexp=[A-Z]{1,4}
colours=cyan
=======
#in
regexp=(IN|CH)
colours=yellow
=======
#domain
regexp=[a-z0-9-]+\.
colours=magenta
=======
#ip address
regexp=[\S]+\.
colours=bright_magenta
-
#line
regexp=^(\S+).*?(\d+)\t(\w+)\t(\w+)\t
colours=unchanged,magenta,red,yellow,cyan
-
#ip4 address
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
colours=green
=======
-
#ipv6
regexp=\t(([0-9a-fA-F]{1,4})?\:\:?[0-9a-fA-F]{1,4})+
colours=dark green
-
#comments
regexp=^;;\s\w*\s*\w*
regexp=^;;[\s\w]+
colours=yellow
=======
-
#Title
regexp=; <<>> DiG (\d+\.\d+\.\d+).*<<>>\s(\S+)$
colours=default,green,bold magenta
regexp=; <<>> DiG.* <<>> (\S+)
colours=default,bold magenta