-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Closed as not planned
Labels
Description
Documentation
In the docs for the re package, which can be seen for example at https://docs.python.org/3/library/re.html
there are some example code fragments with the string
"He was carefully disguised but captured quickly by police."
But to "capture" is a term used when talking about regular expressions. If you search that page for "capture" or for the initial substring "captur" then you will hit this example text as well as, or instead of, the documentation about how to capture the matched text from a regexp or sub-regexp.
Obviously it's not a big problem, but equally it costs nothing to change the example string to something that doesn't contain that word. I will send a pull request.
Linked PRs
Metadata
Metadata
Assignees
Labels
Projects
Status
Todo