mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
#21690: fix a couple of links in the docs of the re module. Noticed by Julian Gilbey.
This commit is contained in:
parent
d143209d7f
commit
642d4b654f
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue