Re: *bold* etc.
Derek Martin wrote:
> other things (like paths or regexes) can easily match unintentionally
Here's a fix for the path problem:
color body brightgreen default '(^|\W)/\w[^/]*\w/($|\W)'
> such expression can span multiple lines, such as this example: *this
> text in between the asterisks should all be considered bold*
That's why I was asking if Mutt handles them internally somehow.
If it doesn't, I'll do the best I can with regexes.
Here's my set so far:
color body brightgreen default '(^|\W)\*\w.*\w\*($|\W)'
color body brightgreen default '(^|\W)_\w.*\w_($|\W)'
color body brightgreen default '(^|\W)/\w[^/]*\w/($|\W)'
color body brightmagenta default '\w+://[a-z0-9./%@#?+&=-]+'
color body brightred default '[a-z0-9.+-]+@[a-z0-9.-]+\.[a-z]{2,4}'
Toby
--
Signed/encrypted mail welcome. GPG/PGP Key-Id: 0x15C5C2EA