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
parent
1f36d5411a
commit
483538f8f3
|
@ -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="^>* ?$"
|
||||
|
|
Loading…
Reference in New Issue