Skip to content

re.escape() escapes too much #74181

Description

@serhiy-storchaka
BPO 29995
Nosy @terryjreedy, @ezio-melotti, @serhiy-storchaka, @ltworf
PRs
  • bpo-29995: re.escape() now escapes only special characters. #1007
  • [3.6]bpo-29995: Adjust IDLE test for 3.7 re.escape change [GH-1007] #2114
  • Dependencies
  • bpo-30021: Add examples for re.escape()
  • 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 2017-04-13.18:14:26.723>
    created_at = <Date 2017-04-05.14:17:51.084>
    labels = ['expert-regex', 'type-feature', 'library', '3.7']
    title = 're.escape() escapes too much'
    updated_at = <Date 2019-01-31.14:58:48.888>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2019-01-31.14:58:48.888>
    actor = 'LtWorf'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2017-04-13.18:14:26.723>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)', 'Regular Expressions']
    creation = <Date 2017-04-05.14:17:51.084>
    creator = 'serhiy.storchaka'
    dependencies = ['30021']
    files = []
    hgrepos = []
    issue_num = 29995
    keywords = []
    message_count = 5.0
    messages = ['291177', '291624', '295723', '295727', '334629']
    nosy_count = 5.0
    nosy_names = ['terry.reedy', 'ezio.melotti', 'mrabarnett', 'serhiy.storchaka', 'LtWorf']
    pr_nums = ['1007', '2114']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue29995'
    versions = ['Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Labels

    3.7 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytopic-regextype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions