Skip to content

re.match loops forever on simple regexp #60767

@lpd

Description

@lpd
mannequin
BPO 16563
Nosy @tim-one, @mdickinson, @ezio-melotti
Superseder
  • bpo-1662581: the re module can perform poorly: O(2n) versus O(n2)
  • 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 2012-11-27.08:45:44.639>
    created_at = <Date 2012-11-27.00:07:43.246>
    labels = ['expert-regex', 'type-crash']
    title = 're.match loops forever on simple regexp'
    updated_at = <Date 2012-11-27.08:58:46.617>
    user = 'https://bugs.python.org/lpd'

    bugs.python.org fields:

    activity = <Date 2012-11-27.08:58:46.617>
    actor = 'mark.dickinson'
    assignee = 'none'
    closed = True
    closed_date = <Date 2012-11-27.08:45:44.639>
    closer = 'mark.dickinson'
    components = ['Regular Expressions']
    creation = <Date 2012-11-27.00:07:43.246>
    creator = 'lpd'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 16563
    keywords = []
    message_count = 7.0
    messages = ['176458', '176459', '176460', '176461', '176465', '176466', '176469']
    nosy_count = 5.0
    nosy_names = ['tim.peters', 'lpd', 'mark.dickinson', 'ezio.melotti', 'mrabarnett']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = None
    status = 'closed'
    superseder = '1662581'
    type = 'crash'
    url = 'https://bugs.python.org/issue16563'
    versions = ['Python 2.6']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      topic-regextype-crashA hard crash of the interpreter, possibly with a core dump
      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions