Skip to content

re.sub() with re.MULTILINE not replacing all occurrences #59972

Description

@eacousineau
BPO15768
Nosy@ezio-melotti

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=Noneclosed_at=<Date2012-08-23.00:05:02.788>created_at=<Date2012-08-23.00:03:04.857>labels= ['expert-regex', 'type-bug', 'invalid']
title='re.sub() with re.MULTILINE not replacing all occurrences'updated_at=<Date2012-08-23.00:05:02.786>user='https://bugs.python.org/eacousineau'

bugs.python.org fields:

activity=<Date2012-08-23.00:05:02.786>actor='eacousineau'assignee='none'closed=Trueclosed_date=<Date2012-08-23.00:05:02.788>closer='eacousineau'components= ['Regular Expressions']
creation=<Date2012-08-23.00:03:04.857>creator='eacousineau'dependencies= []
files= []
hgrepos= []
issue_num=15768keywords= []
message_count=2.0messages= ['168909', '168910']
nosy_count=3.0nosy_names= ['ezio.melotti', 'mrabarnett', 'eacousineau']
pr_nums= []
priority='normal'resolution='not a bug'stage=Nonestatus='closed'superseder=Nonetype='behavior'url='https://bugs.python.org/issue15768'versions= ['Python 2.7']

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions