On 11.08.14 11:58, Christian Ebert wrote:
> * Erik Christiansen on Monday, August 11, 2014 at 19:36:25 +1000
> > On 11.08.14 09:33, Cameron Simpson wrote:
> >> I colour deleted messages in dark blue (and my terminal has a black
> >> background) so that at least makes such accidents visually obvious.
> > 
> > That looks useful. I tried a quick:
> > 
> > :color index black default ^[0-9]+..D
> 
> :color index black default ~D

Thank you.

> Look for "Pattern modifiers" in the manual.

I cheerfully use them in mappings. The obstacle was a compartmentalised
mind. In colouring expressions I have only seen and used regexes, but I
must admit the manual does say "pattern" in section 9.

Erik

-- 
Universities are places of knowledge. The freshmen each bring a little
in with them, and the seniors take none away, so knowledge accumulates.
                                       - Harvard President A. L. Lowell

Reply via email to