Skip to content

re.split doesn't split with zero-width regex #47512

Description

@mrabarnett
mannequin
BPO 3262
PRs
  • bpo-25054, bpo-1647489: Added support of splitting on zerowidth patterns. #4471
  • bpo-25054, bpo-1647489: Added support of splitting on zerowidth patterns (alternate version). #4678
  • Files
  • split_zero_width.diff
  • 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 2010-08-04.05:05:56.318>
    created_at = <Date 2008-07-02.22:07:48.608>
    labels = ['type-bug', 'tests']
    title = "re.split doesn't split with zero-width regex"
    updated_at = <Date 2021-11-04.14:19:04.511>
    user = 'https://bugs.python.org/mrabarnett'

    bugs.python.org fields:

    activity = <Date 2021-11-04.14:19:04.511>
    actor = 'eryksun'
    assignee = 'none'
    closed = True
    closed_date = <Date 2010-08-04.05:05:56.318>
    closer = 'terry.reedy'
    components = ['Tests']
    creation = <Date 2008-07-02.22:07:48.608>
    creator = 'mrabarnett'
    dependencies = []
    files = ['10797']
    hgrepos = []
    issue_num = 3262
    keywords = ['patch']
    message_count = 15.0
    messages = ['69134', '69139', '69146', '69150', '69157', '69408', '69438', '69852', '70749', '70752', '73523', '73567', '73592', '104226', '104257']
    nosy_count = 0.0
    nosy_names = []
    pr_nums = ['4471', '4678']
    priority = 'normal'
    resolution = 'rejected'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue3262'
    versions = ['Python 2.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions