[PATCH] vim: fix regex after "notmuch show" output change

Tomi Ollila tomi.ollila at iki.fi
Sun Mar 25 12:42:53 PDT 2012


Jakob <jakob at pipefour.org> writes:

> On Sat, 24 Mar 2012 10:58:59 +0200, Tomi Ollila <tomi.ollila at iki.fi> wrote:
>> Is this regexp part below good ?
>> 
>> > +        ... match:\([0-9]*\) excluded:\([[0-9]*\) filename:\(.*\)$', ...
>> 
>> ( --> excluded:\([[0-9]*\) <-- )
>
> Yeah, that was the core of the change.  With this new field in the
> output, the old regex didn't match at all.  You can see the fix working by
> trying to use the vim plugin as-is and trying to reply to a message or
> view a message's ID or any number of other things that fail right now.
> After updating this regex, everything starts working again.

I meant about the syntax: \([[0-9]*\) i.e. 2 opening [[:s

>
> Thanks,
> Jakob

Tomi


More information about the notmuch mailing list