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.
master
Benno Schulenberg 2021-10-18 11:49:52 +02:00
parent 1f36d5411a
commit 483538f8f3
1 changed files with 1 additions and 1 deletions

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