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@python components: Documentation messages: 219997 nosy: docs@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 <rep...@bugs.python.org> <http://bugs.python.org/issue21690> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com