docs/ure: Fix match.group signature to indicate index param is required.

pull/1/head
Yonatan Goldschmidt 2019-02-07 23:48:34 +02:00 committed by Damien George
parent b546e4b7e9
commit a0d60c574a
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ Match objects
Match objects as returned by `match()` and `search()` methods, and passed
to the replacement function in `sub()`.
.. method:: match.group([index])
.. method:: match.group(index)
Return matching (sub)string. *index* is 0 for entire match,
1 and above for each capturing group. Only numeric groups are supported.