Skip to content

Tune translation of howto - regex "non-capturing-and-named-groups" #10

@lexxai

Description

@lexxai

https://docs.python.org/uk/3/howto/regex.html#non-capturing-and-named-groups

також можна записати як \b(?P <word> \w+)\s+(?P=слово)\b:

Краще буде:

також можна записати як \b(?P<word>\w+)\s+(?P=word)\b:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions