Skip to content

Wrong example arguments in the regex documentation #521

@moex3

Description

@moex3

In the documentation for the regex module, the str and pattern arguments in the examples for re.match, re.gfind, re.find, re.gsplit and re.split seems to be switched up.

While debugging, I copied the example as is for re.match and wondered why it didn't work lol.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions