Skip to content

re documentation, the word 'captured' is unfortunate #125579

@epa

Description

@epa

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

No one assigned

    Labels

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions