Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve regular expression HOWTO #77094

Closed
joshuarli mannequin opened this issue Feb 22, 2018 · 2 comments
Closed

Improve regular expression HOWTO #77094

joshuarli mannequin opened this issue Feb 22, 2018 · 2 comments
Labels
docs Documentation in the Doc dir type-feature A feature request or enhancement

Comments

@joshuarli
Copy link
Mannequin

joshuarli mannequin commented Feb 22, 2018

BPO 32913
Nosy @brettcannon, @joshuarli
PRs
  • bpo-32913: Added re.Match.groupdict example to regex HOWTO #5821
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2019-04-18.17:25:26.639>
    created_at = <Date 2018-02-22.20:10:00.767>
    labels = ['type-feature', 'docs']
    title = 'Improve regular expression HOWTO'
    updated_at = <Date 2019-04-18.17:25:26.638>
    user = 'https://github.com/JoshuaRLi'

    bugs.python.org fields:

    activity = <Date 2019-04-18.17:25:26.638>
    actor = 'brett.cannon'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2019-04-18.17:25:26.639>
    closer = 'brett.cannon'
    components = ['Documentation']
    creation = <Date 2018-02-22.20:10:00.767>
    creator = 'JoshuaRLi'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32913
    keywords = ['patch']
    message_count = 2.0
    messages = ['312592', '340454']
    nosy_count = 3.0
    nosy_names = ['brett.cannon', 'docs@python', 'JoshuaRLi']
    pr_nums = ['5821']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue32913'
    versions = []

    @joshuarli
    Copy link
    Mannequin Author

    joshuarli mannequin commented Feb 22, 2018

    "Python HOWTOs are documents that cover a single, specific topic, and attempt to cover it fairly completely."

    It would be quite helpful if the section "non-capturing-and-named-groups" in the regex HOWTO contained at least a mention and short usage example of the re.match.groupdict method, something I have found to be pythonic and useful, yet it does not appear frequently in the docs.

    I will be submitting a PR for this.

    @joshuarli joshuarli mannequin assigned docspython Feb 22, 2018
    @joshuarli joshuarli mannequin added docs Documentation in the Doc dir type-feature A feature request or enhancement labels Feb 22, 2018
    @brettcannon
    Copy link
    Member

    New changeset a6de52c by Brett Cannon (josh) in branch 'master':
    bpo-32913: Added re.Match.groupdict example to regex HOWTO (GH-5821)
    a6de52c

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    docs Documentation in the Doc dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant