Skip to content

Python re lib fails case insensitive matches on Unicode data #56937

Closed
@tchrist

Description

@tchrist
mannequin
BPO 12728
Nosy @malemburg, @gvanrossum, @loewis, @terryjreedy, @pitrou, @ezio-melotti, @serhiy-storchaka
Dependencies
  • bpo-17381: IGNORECASE breaks unicode literal range matching
  • Files
  • sigmata.python: Test case proving Python lib re is erroneously using casemapping when it is supposed to use casefolding
  • re_ignore_case_2.patch
  • re_cases.py
  • 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 2014-11-10.10:52:04.273>
    created_at = <Date 2011-08-11.18:48:20.814>
    labels = ['expert-regex', 'type-bug']
    title = 'Python re lib fails case insensitive matches on Unicode data'
    updated_at = <Date 2014-11-10.10:52:04.272>
    user = 'https://bugs.python.org/tchrist'

    bugs.python.org fields:

    activity = <Date 2014-11-10.10:52:04.272>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2014-11-10.10:52:04.273>
    closer = 'serhiy.storchaka'
    components = ['Regular Expressions']
    creation = <Date 2011-08-11.18:48:20.814>
    creator = 'tchrist'
    dependencies = ['17381']
    files = ['22879', '37086', '37146']
    hgrepos = []
    issue_num = 12728
    keywords = ['patch']
    message_count = 9.0
    messages = ['141916', '141987', '141988', '143034', '227236', '230349', '230830', '230951', '230952']
    nosy_count = 11.0
    nosy_names = ['lemburg', 'gvanrossum', 'loewis', 'terry.reedy', 'pitrou', 'ezio.melotti', 'mrabarnett', 'Arfrever', 'python-dev', 'tchrist', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue12728'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5']

    Metadata

    Metadata

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions