Files
openide/python/testData/regexp/redundantEscape.py
Bas Leijdekkers ec7f878b77 regex: ']' and '}' do not need to be escaped under python (PY-35817)
GitOrigin-RevId: e3a5b47c7b7699c9d1e21a5e146621ff7ed0a012
2020-03-18 15:05:00 +00:00

3 lines
169 B
Python

import re
re.compile(r"<warning descr="Redundant character escape '\}' in RegExp">\}</warning><warning descr="Redundant character escape '\]' in RegExp">\]</warning>");