nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 483538f8f38e8c280b51ab479cec581a6fa598f5
parent 1f36d5411a7d20eb4f6266f851a3941b4c93cf3e
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Mon, 18 Oct 2021 11:49:52 +0200

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.

Diffstat:
Msyntax/email.nanorc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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="^>* ?$"