summaryrefslogtreecommitdiffstats
path: root/Doc/library/re.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2014-06-19 21:52:11 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2014-06-19 21:52:11 (GMT)
commit642d4b654f920f88c9dba1aedfe1fdd98bd0a0c1 (patch)
tree66e6cc8b145d6a70ac7e1168e0cf73f36fc506fe /Doc/library/re.rst
parentd143209d7f82588c008de96b973b6306ccc69be0 (diff)
downloadcpython-642d4b654f920f88c9dba1aedfe1fdd98bd0a0c1.zip
cpython-642d4b654f920f88c9dba1aedfe1fdd98bd0a0c1.tar.gz
cpython-642d4b654f920f88c9dba1aedfe1fdd98bd0a0c1.tar.bz2
#21690: fix a couple of links in the docs of the re module. Noticed by Julian Gilbey.
Diffstat (limited to 'Doc/library/re.rst')
-rw-r--r--Doc/library/re.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/re.rst b/Doc/library/re.rst
index 7679bc2..451ee2d 100644
--- a/Doc/library/re.rst
+++ b/Doc/library/re.rst
@@ -458,8 +458,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:`~regex.match` and
+ :func:`~regex.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