]> git.eshelyaron.com Git - emacs.git/commitdiff
* doc/lispref/searching.texi (Rx Constructs): Group numbering fix
authorMattias Engdegård <mattiase@acm.org>
Wed, 25 Nov 2020 11:39:56 +0000 (12:39 +0100)
committerMattias Engdegård <mattiase@acm.org>
Wed, 25 Nov 2020 12:57:16 +0000 (13:57 +0100)
doc/lispref/searching.texi

index 592b876644c2ff1d45d5148e27d23c1a21c094f4..35a518805c328845f72150cdd4264a5db4a9cff2 100644 (file)
@@ -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{})