From: Mattias EngdegÄrd Date: Wed, 25 Nov 2020 11:39:56 +0000 (+0100) Subject: * doc/lispref/searching.texi (Rx Constructs): Group numbering fix X-Git-Tag: emacs-28.0.90~5028 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=be53fe0263492a124c9cf01aec50b329287465f9;p=emacs.git * doc/lispref/searching.texi (Rx Constructs): Group numbering fix --- 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{})