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