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.
This commit is contained in:
Benno Schulenberg 2021-10-18 11:49:52 +02:00
parent 1f36d5411a
commit 483538f8f3

View File

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