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

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

Date: Sun, 25 Mar 2012 22:42:53 +0300

To: Jakob, notmuch@notmuchmail.org

Cc:

From: Tomi Ollila


Jakob <jakob@pipefour.org> writes:

> On Sat, 24 Mar 2012 10:58:59 +0200, Tomi Ollila <tomi.ollila@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

Thread: