New submission from MANI M <maannn...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue37106> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com