<<< Date Index >>>     <<< Thread Index >>>

highlighting urls ???



OK, I have this URL:

   http://support.microsoft.com/default.aspx?scid=kb;[LN];Q260371

I have been using this in ~/.muttrc:

   color body brightblue default (https?|ftp)://[\-\.\,=/%~_:?\#a-zA-Z0-9&+]+

I am having problems adding the square brackets `[]' to that regexp.

Interestingly enough, the following only highlights `N]' and *not* `[L':

   color body brightred default [a-zA-Z0-9\[\]]+

Other attempts to escape `\[' and `\]' result in errors at mutt startup,
and *NO* highlighting at all.

What do you think?

-- 
Best Regards,

mds
mds resource
877.596.8237
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know.  The more I know, the more I know I don't know . . .
--

Attachment: pgphlMuoLYcUa.pgp
Description: PGP signature