We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 030f76b commit 777cecaCopy full SHA for 777ceca
Doc/library/re.rst
@@ -490,9 +490,10 @@ form.
490
491
.. function:: compile(pattern, flags=0)
492
493
- Compile a regular expression pattern into a regular expression object, which
494
- can be used for matching using its :func:`~regex.match` and
495
- :func:`~regex.search` methods, described below.
+ Compile a regular expression pattern into a :ref:`regular expression object
+ <re-objects>`, which can be used for matching using its
+ :func:`~regex.match`, :func:`~regex.search` and other methods, described
496
+ below.
497
498
The expression's behaviour can be modified by specifying a *flags* value.
499
Values can be any of the following variables, combined using bitwise OR (the
0 commit comments