[issue39949] truncating match in regular expression match objects repr
Quentin Wenger
report at bugs.python.org
Fri Jun 19 06:00:30 EDT 2020
Quentin Wenger <wenger.quentin at bluewin.ch> added the comment:
And ascii escapes should also not be forgotten.
```
>>> re.match(b".*", b"\t")
<re.Match object; span=(0, 1), match=b'\t'>
>>> re.match(".*", "\t")
<re.Match object; span=(0, 1), match='\t'>
```
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39949>
_______________________________________
More information about the Python-bugs-list
mailing list