8000 gh-102211: Document `re.{Pattern,Match}`’s existence by flying-sheep · Pull Request #102212 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-102211: Document re.{Pattern,Match}’s existence #102212

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Aug 25, 2023
Merged
Prev Previous commit
Next Next commit
move description
  • Loading branch information
flying-sheep authored Jun 27, 2023
commit 85d556f8756f9905571d007b1114c12f45a2b41f
6 changes: 3 additions & 3 deletions Doc/library/re.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1116,11 +1116,11 @@ Exceptions
Regular Expression Objects
--------------------------

Compiled regular expression objects support the following methods and
attributes:

.. class:: Pattern

Compiled regular expression object returned by :func:`re.compile`.
It supports the following methods and attributes:

.. method:: Pattern.search(string[, pos[, endpos]])

Scan through *string* looking for the first location where this regular
Expand Down
0