summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--docs/library/ure.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/library/ure.rst b/docs/library/ure.rst
index d2615e37d8..ac5f02f9e8 100644
--- a/docs/library/ure.rst
+++ b/docs/library/ure.rst
@@ -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.