[New-bugs-announce] [issue41764] sub function would not work without the flags but the search would work fine

ali report at bugs.python.org
Fri Sep 11 13:12:58 EDT 2020


New submission from ali <alibayat006 at gmail.com>:

it would work like this sub("pattern","replace", txt, flags= re.IGNORECASE | re.DOTALL)
but it wouldnt work like this  sub("pattern","replace", txt, re.IGNORECASE | re.DOTALL)

----------
components: Regular Expressions
messages: 376734
nosy: bayat, ezio.melotti, mrabarnett
priority: normal
severity: normal
status: open
title: sub function would not work without the flags but the search would work fine
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41764>
_______________________________________


More information about the New-bugs-announce mailing list