Skip to content

Replace empty matches adjacent to a previous non-empty match in re.sub() #76489

Closed
@serhiy-storchaka

Description

@serhiy-storchaka
BPO 32308
Nosy @ezio-melotti, @serhiy-storchaka, @boxed
PRs
  • bpo-32308: Replace empty matches adjacent to a previous non-empty match in re.sub(). #4846
  • 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 = 'https://github.com/serhiy-storchaka'
    closed_at = <Date 2018-01-04.09:06:40.130>
    created_at = <Date 2017-12-13.18:28:37.987>
    labels = ['expert-regex', 'type-feature', 'library', '3.7']
    title = 'Replace empty matches adjacent to a previous non-empty match in re.sub()'
    updated_at = <Date 2020-04-16.16:28:26.175>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2020-04-16.16:28:26.175>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2018-01-04.09:06:40.130>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)', 'Regular Expressions']
    creation = <Date 2017-12-13.18:28:37.987>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32308
    keywords = ['patch']
    message_count = 14.0
    messages = ['308229', '309055', '309458', '339949', '339950', '339989', '340040', '340102', '360352', '360355', '366595', '366602', '366604', '366606']
    nosy_count = 6.0
    nosy_names = ['ezio.melotti', 'mrabarnett', 'mu_mind', 'serhiy.storchaka', 'Anders.Hovm\xc3\xb6ller', 'Mark Borgerding']
    pr_nums = ['4846']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue32308'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions