!-- On Wed 28.Aug'13 at 10:09:49 BST, Eric Smith (e...@fruitcom.com), wrote: 

> Thanks for this Marco.
> 
> For some reason my version 1.5.21 did not expand the char class
> square brackets so I had to change the regex thusly;
> color body brightgreen black "(http|https|ftp|news|telnet|finger)://[^ 
> \"\t\r\n]*"
> 
> -- 
> Eric Smith
> 
> Marco wrote on Wed-21-Aug 13  5:12PM
> > On 2013–08–21 Eric Smith wrote:
> > 
> > > How do I highlight URL's in the mutt pager?
> > 
> > I use the following settings (I don't remember from which blog I
> > stole them)
> > 
> >   # URLs
> >   color body brightgreen black "(http[s]|ftp|news|telnet|finger)://[^ 
> > \"\t\r\n]*"
> >   color body brightgreen black "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+";
> >   mono  body bold              "(http[s]|ftp|news|telnet|finger)://[^ 
> > \"\t\r\n]*"
> >   mono  body bold              "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+";
> > 
> >   # email addresses
> >   color body brightgreen black "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
> >   mono  body bold              "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
> > 
> > Marco

Eric, there are some excellent examples of this on the mutt wiki page,
there's a link to user example configurations. 

Take a look there and you definitely see some good tips for this type of
thing, and other stuff too.

Jamie.
-- 


James Griffin: jmz at kontrol.kode5.net 

A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38

Reply via email to