Files
openide/python/testData/highlighting/namedUnicodeBefore38.py
Semyon Proshev 2a559ec31a Don't mark named unicode character as an error in Python 3.8+ (PY-36004)
GitOrigin-RevId: 59b52a42e5c820a6603e6734e768f035c5c593e5
2019-08-01 16:03:35 +03:00

3 lines
254 B
Python

import re
re.match(r'<error descr="Named Unicode characters are not allowed in this regex dialect">\N{LESS-THAN SIGN}</error>', '<')
re.match(r'<error descr="Named Unicode characters are not allowed in this regex dialect">\N{LESS-THAN SIG}</error>', '<')