2
0
mirror of https://github.com/garabik/grc.git synced 2024-11-10 21:26:52 +01:00
bash-color-grc/colourfiles/conf.ip

45 lines
500 B
Plaintext
Raw Normal View History

2016-10-17 21:56:21 +02:00
# IP4
2016-05-10 20:15:19 +02:00
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
2016-10-17 21:56:21 +02:00
colours=bold yellow
2016-05-10 20:15:19 +02:00
-
2016-10-17 21:13:35 +02:00
2016-10-17 21:56:21 +02:00
# IP6
2016-10-17 21:13:35 +02:00
regexp=[0-9a-fA-F]{0,4}(\:\:?[0-9a-fA-F]{0,4})+?(\/\d{1,3})
2016-10-17 21:56:21 +02:00
colours=yellow
2016-10-17 21:13:35 +02:00
-
2016-10-17 21:56:21 +02:00
# MAC
2016-10-17 21:13:35 +02:00
regexp=(\d|[a-f]){2}(\:(\d|[a-f]){2}){5}
2016-10-17 21:56:21 +02:00
colours=magenta
2016-10-17 21:13:35 +02:00
-
2016-05-10 20:15:19 +02:00
# parenthesis
regexp=\(|\)
colours=yellow
-
# dev wlan0 etc
regexp=dev \w+
colours=yellow
-
# "default"
regexp=default
colours=on_blue
-
# ip range size
regexp=/\d{1,2}
colours=red
-
# "linkdown"
regexp=linkdown
colours=bold red
-
2016-05-10 20:15:19 +02:00
# "src"
regexp=src \S+
colours=on_magenta