ifconfig lexer: interfaces can have '-' in their names

This commit is contained in:
Jesse Portnoy
2023-08-05 21:48:13 +01:00
parent e4585fb2cc
commit 3e9c2ec288
+1 -1
View File
@@ -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