gh-144694: Fix re.Match.group() doc claiming [1..99] range limit (#14… · python/cpython@85021bc
@@ -1434,10 +1434,10 @@ when there is no match, you can test whether there was a match with a simple
14341434 result is a single string; if there are multiple arguments, the result is a
14351435 tuple with one item per argument. Without arguments, *group1* defaults to zero
14361436 (the whole match is returned). If a *groupN* argument is zero, the corresponding
1437- return value is the entire matching string; if it is in the inclusive range
1438-[1..99], it is the string matching the corresponding parenthesized group. If a
1439-group number is negative or larger than the number of groups defined in the
1440-pattern, an :exc:`IndexError` exception is raised. If a group is contained in a
1437+ return value is the entire matching string; if it is a positive integer, it is
1438+ the string matching the corresponding parenthesized group. If a group number is
1439+ negative or larger than the number of groups defined in the pattern, an
1440+:exc:`IndexError` exception is raised. If a group is contained in a
14411441 part of the pattern that did not match, the corresponding result is ``None``.
14421442 If a group is contained in a part of the pattern that matched multiple times,
14431443 the last match is returned. ::