Skip to content

Named groups in regex #20

@karacolada

Description

@karacolada

More of a quality of (developer) life feature. Regexes are used throughout the code, and instead of referring to groups by numbering, it might be nicer to refer to the groups by names, e.g. (?P<domain>[a-zA-Z]+) and match["domain"].

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