From be53fe0263492a124c9cf01aec50b329287465f9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Wed, 25 Nov 2020 12:39:56 +0100 Subject: [PATCH] * doc/lispref/searching.texi (Rx Constructs): Group numbering fix --- doc/lispref/searching.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi index 592b876644c..35a518805c3 100644 --- a/doc/lispref/searching.texi +++ b/doc/lispref/searching.texi @@ -1484,8 +1484,8 @@ Corresponding string regexp: @samp{\_>} @cindex @code{submatch} in rx Match the @var{rx}s, making the matched text and position accessible in the match data. The first group in a regexp is numbered 1; -subsequent groups will be numbered one higher than the previous -group.@* +subsequent groups will be numbered one above the previously +highest-numbered group in the pattern so far.@* Corresponding string regexp: @samp{\(@dots{}\)} @item (group-n @var{n} @var{rx}@dots{}) -- 2.39.2