From 9f505b2e68574152e1090eec9cbbd3f5f47106d9 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 13 Jun 2007 17:49:14 +0000 Subject: [PATCH] (explicitly numbered group): Precise the behavior. --- lispref/searching.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lispref/searching.texi b/lispref/searching.texi index f923a58f112..70926478ea7 100644 --- a/lispref/searching.texi +++ b/lispref/searching.texi @@ -655,7 +655,8 @@ is the @dfn{explicitly numbered group} construct. Normal groups get their number implicitly, based on their position, which can be inconvenient. This construct allows you to force a particular group number. There is no particular restriction on the numbering, -e.g.@: you can have several groups with the same number. +e.g.@: you can have several groups with the same number in which case +the last one to match (i.e.@: the rightmost match) will win. Implicitly numbered groups always get the smallest integer larger than the one of any previous group. -- 2.39.2