mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 04:51:24 +07:00
Previously, they would get matched as '\ followed by \', and then, two remaining quotes. Therefore the literal was considered unterminated by the lexer. It, in turn, broke multiple assertions in PyStringLiteralLexer because it used to find different string's end than PythonHighlightingLexer and rendered the whole editor unresponsive.
4 lines
20 B
Python
4 lines
20 B
Python
s = '''
|
|
'\\''''
|
|
'''
|