2
0
mirror of https://github.com/garabik/grc.git synced 2024-09-18 17:31:29 +02:00
bash-color-grc/colourfiles/conf.ip
Radovan Garabík 5758a80b5e spelling
2017-04-21 10:29:25 +02:00

45 lines
501 B
Plaintext

# IP4
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
colours=bold yellow
-
# IP6
regexp=[0-9a-fA-F]{0,4}(\:\:?[0-9a-fA-F]{0,4})+?(\/\d{1,3})
colours=yellow
-
# MAC
regexp=(\d|[a-f]){2}(\:(\d|[a-f]){2}){5}
colours=magenta
-
# 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
-
# "src"
regexp=src \S+
colours=on_magenta