Commit d048d291 authored by Ezio Melotti's avatar Ezio Melotti

#21690: fix a couple of links in the docs of the re module. Noticed by Julian Gilbey.

parent 869d2982
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment