Re: highlight URL in pager

2013-08-28 Thread Eric Smith
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

Re: highlight URL in pager

2013-08-28 Thread James Griffin
!-- 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)://[^

Re: highlight URL in pager

2013-08-28 Thread Marcelo Laia
Here is what I have been used: # Ronald J Kimball's url regexp. mutt-user 04/05/28 color body brightyellow black\ (https?|ftp|gopher|finger)://([^''' \t\r\n).,!?]\ |[.,!?][^''' \t\r\n).,!?]|([^g]|$)|g([^t]|$)|gt([^;]|$))+ color body brightred black\ [-a-zA-Z_0-9.+]+@[-a-zA-Z_0-9.]+ color body