[New-bugs-announce] [issue37106] python re.escape doesn't escape some special characters.
MANI M
report at bugs.python.org
Fri May 31 00:37:21 EDT 2019
New submission from MANI M <maannniii at gmail.com>:
Recently I figured out an issue in python3 re which doesn't escape some special characters.
Not sure whether this bug has been reported already.
Have attached screenshots for your reference.
Steps to reproduce:
1. wget https://www.python.org/ftp/python/3.7.3/Python-3.7.3.tar.xz
2. tar -xvzf Python-3.7.3.tar.xz
3. cd Python-3.7.3
4. ./configure
5. make
6. make install.
GCC version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
OS: CentOS Linux release 7.6.1810 (Core)
----------
components: Regular Expressions
files: python_3.7.3_bug.png
messages: 344020
nosy: MANI M, ezio.melotti, mrabarnett
priority: normal
severity: normal
status: open
title: python re.escape doesn't escape some special characters.
type: behavior
versions: Python 3.7
Added file: https://bugs.python.org/file48377/python_3.7.3_bug.png
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37106>
_______________________________________
More information about the New-bugs-announce
mailing list