wp - 2007-07-01

Hi,

Using SynGen I am tying to write a SynEdit Highlighter for MIME message headers. As keywords I would like to have data such as "Return-Path:", "MIME-Vesion:", "From:" or "Reply-To:".

Unfortunately, the highlighter does not seem to recognize these keywords. When I remove the colons after the "From:", for example, it works with this keyword, but all other "from" words thoughout the text are highlighted as well. The keywords with a dash do not work at all.

I already tried to use a backslash as an escape character, i.e. "Return\-Path\:", but this does not help either.

Any idea?