Improve link highlighting master
authorStefan Huber <shuber@sthu.org>
Wed, 26 Jan 2022 16:08:21 +0000 (17:08 +0100)
committerStefan Huber <shuber@sthu.org>
Wed, 26 Jan 2022 16:08:21 +0000 (17:08 +0100)
colors-gruvbox-shuber.muttrc

index 348ab7cc175b6949cd8e5650975b9af8dcb2f981..c283d0f8b781c0ad7a0e08c18d57209c6b5b26cf 100644 (file)
@@ -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