From 88d5df9d692b4d6c6b72235d3dffd9efcc660b13 Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@telfort.nl>
Date: Mon, 18 Oct 2021 11:49:52 +0200
Subject: [PATCH 34/34] syntax: email: use a character class, as \s does not
 work inside brackets

This fixes https://savannah.gnu.org/bugs/?61347.

Bug existed since version 4.9.3, commit 4f9bebdd.
---
 syntax/email.nanorc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/syntax/email.nanorc b/syntax/email.nanorc
index 6818d2ff..d9eb4a72 100644
--- a/syntax/email.nanorc
+++ b/syntax/email.nanorc
@@ -11,7 +11,7 @@ color yellow "^> ?> ?>.*"
 color brightmagenta "<[^@]+@[^@]+>"
 
 # URLs.
-color brightblue "(https?|ftp)://\S+\.\S+[^\s.)]"
+color brightblue "(https?|ftp)://\S+\.\S+[^[:space:].)]"
 
 # Signatures, even quoted ones.
 color yellow start="^>* ?-- $" end="^>* ?$"
-- 
2.29.3

