[docs] [issue21690] re documentation: re.compile links to re.search / re.match instead of regex.search / regex.match

Julian Gilbey report at bugs.python.org
Sun Jun 8 01:25:03 CEST 2014


New submission from Julian Gilbey:

In re.rst, the re.compile documentation says:

   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.

This results in linking to the re.match and re.search module functions instead of the regex.match and regex.search object methods.  I'm not sure what the correct replacement syntax is, presumably something like :meth:`~regex.match` and :meth:`~regex.search`.

----------
assignee: docs at python
components: Documentation
messages: 219997
nosy: docs at python, jdg
priority: normal
severity: normal
status: open
title: re documentation: re.compile links to re.search / re.match instead of regex.search / regex.match
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21690>
_______________________________________


More information about the docs mailing list