Subject: Re: bug#16106: 24.3.50; doc of `replace-match'

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 07 Feb 2014 18:54:41 -0800

Drew Adams <[email-masked]> writes:

> State (in doc string and Elisp manual) that N in \N is not just "a
> digit" but a digit from 1 through 9.  Make clear that in "Nth
> subexpression", N is one-based, not zero-based.

I don't think that makes any sense.  The wording is:

  `\N' means substitute what matched the Nth `\(...\)'.
       If Nth parens didn't match, substitute nothing.

I can't see anybody interpreting Nth as having "zeroth" as a valid
meaning.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/