From 91853cfee609ecad5d2cb7dce821a7dfe6d780ef Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Wed, 26 Jan 2022 17:08:21 +0100 Subject: [PATCH] Improve link highlighting --- colors-gruvbox-shuber.muttrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/colors-gruvbox-shuber.muttrc b/colors-gruvbox-shuber.muttrc index 348ab7c..c283d0f 100644 --- a/colors-gruvbox-shuber.muttrc +++ b/colors-gruvbox-shuber.muttrc @@ -77,11 +77,12 @@ color header color108 color234 "^Received:" # # Non-examples: # 1.1.1900 +# 14.02.2022/24:00 # 23.59 # w.l.o.g # team.its color body color142 color234 "[a-z]{3,255}://[[:graph:]]*" -color body color142 color234 "([-[:alnum:]]+\\.)+[-[:alnum:]]+/[[:graph:]]*" +color body color142 color234 "([-[:alnum:]]+\\.)+([0-9]{1,3}|[-[:alpha:]]+)/[[:graph:]]*" color body color142 color234 "([-[:alnum:]]+\\.){2,255}[-[:alpha:]]{2,10}" # IPv4 and IPv6 stolen from https://stackoverflow.com/questions/53497/regular-expression-that-matches-valid-ipv6-addresses -- 2.39.5