Skip to content

"\W" pattern with re.ASCII flag is not equivalent to "[^a-zA-Z0-9_]" #89621

@owentrigueros

Description

@owentrigueros
BPO 45458
Nosy @ezio-melotti, @serhiy-storchaka, @owentrigueros

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 2021-10-13.09:28:14.946>
created_at = <Date 2021-10-13.09:10:37.218>
labels = ['expert-regex', 'type-bug', '3.8', '3.9', '3.10', '3.7', 'invalid']
title = '"\\W" pattern with re.ASCII flag is not equivalent to "[^a-zA-Z0-9_]"'
updated_at = <Date 2021-10-13.09:28:14.945>
user = 'https://github.com/owentrigueros'

bugs.python.org fields:

activity = <Date 2021-10-13.09:28:14.945>
actor = 'serhiy.storchaka'
assignee = 'none'
closed = True
closed_date = <Date 2021-10-13.09:28:14.946>
closer = 'serhiy.storchaka'
components = ['Regular Expressions']
creation = <Date 2021-10-13.09:10:37.218>
creator = 'owentrigueros'
dependencies = []
files = []
hgrepos = []
issue_num = 45458
keywords = []
message_count = 2.0
messages = ['403810', '403811']
nosy_count = 4.0
nosy_names = ['ezio.melotti', 'mrabarnett', 'serhiy.storchaka', 'owentrigueros']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue45458'
versions = ['Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10']

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions