Skip to content
Snippets Groups Projects
Commit a0d60c57 authored by Yonatan Goldschmidt's avatar Yonatan Goldschmidt Committed by Damien George
Browse files

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

parent b546e4b7
No related branches found
No related tags found
No related merge requests found
...@@ -175,7 +175,7 @@ Match objects ...@@ -175,7 +175,7 @@ Match objects
Match objects as returned by `match()` and `search()` methods, and passed Match objects as returned by `match()` and `search()` methods, and passed
to the replacement function in `sub()`. to the replacement function in `sub()`.
.. method:: match.group([index]) .. method:: match.group(index)
Return matching (sub)string. *index* is 0 for entire match, Return matching (sub)string. *index* is 0 for entire match,
1 and above for each capturing group. Only numeric groups are supported. 1 and above for each capturing group. Only numeric groups are supported.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment