mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-09-05 08:27:19 -04:00
ifconfig lexer: interfaces can have '-' in their names
This commit is contained in:
@@ -13,7 +13,7 @@ rules:
|
|||||||
# size
|
# size
|
||||||
- yellow: "\\d+(\\.\\d+)?\\s(T|G|M|K|)i?B"
|
- yellow: "\\d+(\\.\\d+)?\\s(T|G|M|K|)i?B"
|
||||||
# interface
|
# interface
|
||||||
- cyan: "^([a-z0-9.]{2,}\\d*):?\\s"
|
- cyan: "^([a-z0-9.-]{2,}\\d*):?\\s"
|
||||||
#ip disc
|
#ip disc
|
||||||
- cyan: "(inet6?|netmask|broadcast|ether|loop)"
|
- cyan: "(inet6?|netmask|broadcast|ether|loop)"
|
||||||
# mtu
|
# mtu
|
||||||
|
|||||||
Reference in New Issue
Block a user