[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Sending multiple patches
From: |
Herring, Davis |
Subject: |
RE: Sending multiple patches |
Date: |
Sat, 7 Jun 2014 15:05:59 +0000 |
> ("<! *\\(--\\|==\\)" . (1 " *>"))
>
> If the code was changed so that the whole end-pattern is regexp-quote'd,
> the asterisk would get escaped.
(What we really want here is a "backreference to another match".) If
`store-match-data' is sufficiently tolerant of the deception, there is the
possibility of a fairly complicated dance of `match-data', `replace-match',
`regexp-quote', and `store-match-data' to quote exactly the submatches in the
replacement. (Is there a function to compute, rather than apply, a
replacement? That would cut down on the circuitousness...)
Davis
- 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 <=
Re: Sending multiple patches, Michal Nazarewicz, 2014/06/02