]> git.sthu.org Git - mutt-gruvbox.git/commitdiff
Another try for link highlighting
authorStefan Huber <shuber@sthu.org>
Sat, 22 Jan 2022 12:23:26 +0000 (13:23 +0100)
committerStefan Huber <shuber@sthu.org>
Sat, 22 Jan 2022 12:23:26 +0000 (13:23 +0100)
colors-gruvbox-shuber.muttrc

index a38198a675f81be09661f88cbcd5664c3ca84986..348ab7cc175b6949cd8e5650975b9af8dcb2f981 100644 (file)
@@ -73,13 +73,16 @@ color header color108 color234 "^Received:"
 #   some-service.example.com
 #   example.com/
 #   example.com/datenschutz
+#   file:///tmp/foo
 #
 # Non-examples:
 #   1.1.1900
 #   23.59
 #   w.l.o.g
-color body color142 color234 "([a-z]{3,255}://)?[[:alpha:]]\\.?([-[:alnum:]]+\\.)+[-[:alnum:]]{2,10}(/[[:graph:]]*)?"
-color body color142 color234 "file:///[[:graph:]]*"
+#   team.its
+color body color142 color234 "[a-z]{3,255}://[[:graph:]]*"
+color body color142 color234 "([-[:alnum:]]+\\.)+[-[:alnum:]]+/[[: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
 color body color142 color234 "((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])"