by Mofi » Mon Aug 07, 2006 12:06 pm
It's not possible to highlight a string which contains @ anywhere in the middle.
You can highlight the first part of the domain name with the @ before with the help of marker characters:
/Marker Characters = "@."
/C2"email addresses"
@.
That would for example result in @gmail.com.
Also possible is the whole domain name, if there is always a space after the address.
/Marker Characters = "@space"
/C2"email addresses"
@space
space is here only a place holder for a singe normal space.
That would for example result in @gmail.com if there is a space following .com or only @gmail.com if no space is following (i.e. line end).
The CR or LF byte cannot be specified as end of marker string.
To get this marker string to work, @ must be in the list of delimiters which of course has a bad effect on the substring highlighting of mailto except you define both at the same color group.
/Marker Characters = "@space"
/C1"URLs"
** ftp http www
/C2"email addresses"
@space
** mailto