[issue35072] re.sub does not play nice with chr(92)

Matthew Barnett report at bugs.python.org
Fri Oct 26 11:19:12 EDT 2018


Matthew Barnett <python at mrabarnett.plus.com> added the comment:

@Ezio: the value of stringy_thingy is irrelevant because it never gets that far; it fails when it tries to parse the replacement, which occurs before attempting any matching.

I can't reproduce the difference either.

----------
status: pending -> open

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


More information about the Python-bugs-list mailing list