[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sending multiple patches
From: |
Michal Nazarewicz |
Subject: |
Re: Sending multiple patches |
Date: |
Mon, 02 Jun 2014 21:03:51 +0200 |
User-agent: |
Notmuch/0.17+15~gb65ca8e (http://notmuchmail.org) Emacs/24.4.50.1 (x86_64-unknown-linux-gnu) |
On Mon, Jun 02 2014, Stefan Monnier <address@hidden> wrote:
> - Rather than ("end-" 1), tildify-ignored-environments-alist should
> probably just use "end-\\1" so it can just use `replace-match'.
I started implementing this which is when I realised that "end-\\1"
won't cut it because contents of the matched capture group must be
escaped with `regexp-quote'. For example, if we had:
("verb\\(.\\)" . "\\1")
and a buffer had:
verb\foo\
the end-regex for “verb\” would become just a single back-slash,
i.e. not a valid regex.
--
Best regards, _ _
.o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o
..o | Computer Science, Michał “mina86” Nazarewicz (o o)
ooo +--<address@hidden>--<xmpp:address@hidden>--ooO--(_)--Ooo--
- Re: Sending multiple patches, (continued)
Re: Sending multiple patches, Glenn Morris, 2014/06/02
Re: Sending multiple patches, Michal Nazarewicz, 2014/06/02
- Re: Sending multiple patches, Stefan Monnier, 2014/06/02
- Re: Sending multiple patches, Michal Nazarewicz, 2014/06/03
- Re: Sending multiple patches, Stefan Monnier, 2014/06/03
- Re: Sending multiple patches, Michal Nazarewicz, 2014/06/07
- Re: Sending multiple patches, Stefan Monnier, 2014/06/07
RE: Sending multiple patches, Herring, Davis, 2014/06/07
Re: Sending multiple patches,
Michal Nazarewicz <=