From 3e9c2ec28850dd1c500a552393d1d9bb5083d78d Mon Sep 17 00:00:00 2001 From: Jesse Portnoy Date: Sat, 5 Aug 2023 21:48:13 +0100 Subject: [PATCH] ifconfig lexer: interfaces can have '-' in their names --- syntax_files/ifconfig.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax_files/ifconfig.yaml b/syntax_files/ifconfig.yaml index a2cc517..c692df9 100644 --- a/syntax_files/ifconfig.yaml +++ b/syntax_files/ifconfig.yaml @@ -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