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

Attachment: signature.asc
Description: Digital signature

Reply via email to