From: Stefan Huber Date: Wed, 26 Jan 2022 16:08:21 +0000 (+0100) Subject: Improve link highlighting X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=mutt-gruvbox.git Improve link highlighting --- 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