[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16106: 24.3.50; doc of `replace-match'
From: |
Lars Ingebrigtsen |
Subject: |
bug#16106: 24.3.50; doc of `replace-match' |
Date: |
Fri, 07 Feb 2014 18:54:41 -0800 |
User-agent: |
Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) |
Drew Adams <drew.adams@oracle.com> 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/
- bug#16106: 24.3.50; doc of `replace-match',
Lars Ingebrigtsen <=