This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: re documentation: re.compile links to re.search / re.match instead of regex.search / regex.match
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.4
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: ezio.melotti Nosy List: docs@python, ezio.melotti, jdg, python-dev
Priority: normal Keywords:

Created on 2014-06-07 23:25 by jdg, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
msg219997 - (view) Author: Julian Gilbey (jdg) Date: 2014-06-07 23:25
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`.
msg221033 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-06-19 21:55
New changeset 88a1f3cf4ed9 by Ezio Melotti in branch '2.7':
#21690: fix a couple of links in the docs of the re module.  Noticed by Julian Gilbey.
http://hg.python.org/cpython/rev/88a1f3cf4ed9

New changeset 9090348a920d by Ezio Melotti in branch '3.4':
#21690: fix a couple of links in the docs of the re module.  Noticed by Julian Gilbey.
http://hg.python.org/cpython/rev/9090348a920d

New changeset 590ad80784bf by Ezio Melotti in branch 'default':
#21690: merge with 3.4.
http://hg.python.org/cpython/rev/590ad80784bf
msg221035 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2014-06-19 21:56
Fixed, thanks for the report!
History
Date User Action Args
2022-04-11 14:58:04adminsetgithub: 65889
2014-06-19 21:56:49ezio.melottisetstatus: open -> closed

type: enhancement
assignee: docs@python -> ezio.melotti

nosy: + ezio.melotti
messages: + msg221035
stage: resolved
2014-06-19 21:55:39python-devsetnosy: + python-dev
messages: + msg221033
2014-06-07 23:25:03jdgcreate