# HG changeset patch # User Stefan Monnier # Date 1181756954 0 # Node ID 3e8cb1480830a87f6179538a727a38b52683d8e8 # Parent 38538b82a02b66e5c8662c5ce6aa2d001feb3e03 (explicitly numbered group): Precise the behavior. diff -r 38538b82a02b -r 3e8cb1480830 lispref/searching.texi --- a/lispref/searching.texi Wed Jun 13 17:37:39 2007 +0000 +++ b/lispref/searching.texi Wed Jun 13 17:49:14 2007 +0000 @@ -655,7 +655,8 @@ 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.