SIGN IN SIGN UP

gh-144694: Fix re.Match.group() doc claiming [1..99] range limit (#144696)

The documentation incorrectly stated that numeric group arguments
must be in the range [1..99]. This limit was removed in Python 3.5
(bpo-22437). Replace with "a positive integer" since the next
sentence already documents the IndexError for out-of-range values.
M
Mohsin Mehmood committed
85021bc2477f3ab394172b6dda3110e59f4777dd
Parent: 273d506
Committed by GitHub <noreply@github.com> on 2/21/2026, 5:36:26 AM