From 33b810d272e6e96d43b1c3d581cb340fbc22d760 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Fri, 20 Jun 2014 00:47:11 +0300 Subject: [PATCH] #21690: fix a couple of links in the docs of the re module. Noticed by Julian Gilbey. --- Doc/library/re.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/re.rst b/Doc/library/re.rst index 52909adce1..e5bbd035aa 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst @@ -433,8 +433,8 @@ form. .. function:: compile(pattern, flags=0) Compile a regular expression pattern into a regular expression object, which - can be used for matching using its :func:`match` and :func:`search` methods, - described below. + can be used for matching using its :func:`~RegexObject.match` and + :func:`~RegexObject.search` methods, described below. The expression's behaviour can be modified by specifying a *flags* value. Values can be any of the following variables, combined using bitwise OR (the -- 2.50.1