Few questions about colors and regex
Hello, I have a few question about the use of color. Starting with the simpler: - can I use `underline` with color? I think not, I tried but I failed but I also found on Internet some config files with this configuration; - does exist a non greedy version of * (0 or more) in mutt's regexp (In vim is \{-})? I'd like to highlight *bla bla* but not *this* ^^^ this should be not highlighted This is what I have actually: color body brightdefault default \ (^| )\\*([-a-z0-9*]+\\*|[-a-z0-9*][-a-z0-9* ]*[-a-z0-9*]+)\\*[[:punct:]]?( |$) - can I `highligh` only the header name and not the full header? i.e.: Subject: blablabla thanks m.
Re: Few questions about colors and regex
=- Marco Giusti wrote on Sat 1.Dec'12 at 11:34:45 +0100 -= - can I use `underline` with color? I think not, I tried but I failed but I also found on Internet some config files with this configuration; Not yet, patches welcome. - does exist a non greedy version of * (0 or more) in mutt's regexp (In vim is \{-})? I'd like to highlight *bla bla* but not *this* No, exclude '*' in greedy-relevant matches. See wiki - configlist - my wrapper script for HI_STAR. - can I `highligh` only the header name and not the full header? i.e.: Subject: blablabla Not yet, patches welcome. -- © Rado S. -- You must provide YOUR effort for your goal! EVERY effort counts: at least to show your attitude. You're responsible for ALL you do: you get what you give.
Re: Few questions about colors and regex
On Sat, Dec 01, 2012 at 11:50:48AM +0100, Rado Q wrote: - does exist a non greedy version of * (0 or more) in mutt's regexp (In vim is \{-})? I'd like to highlight *bla bla* but not *this* No, exclude '*' in greedy-relevant matches. See wiki - configlist - my wrapper script for HI_STAR. Thanks, the link[*] to the pic is brocken. [*] http://ghb-hamburg.de/rado/mutt/muttscr.gif