solorice/vscodium/extensions/magicstack.magicpython-1.1.1/test/regexp/fregexp5.py
2022-04-28 21:17:01 +03:00

27 lines
1.6 KiB
Python

a = rf'{{foo}}'
a = r'\{foo\}'
a : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
rf : source.python, storage.type.string.python, string.interpolated.python, string.regexp.quoted.single.python
' : punctuation.definition.string.begin.python, source.python, string.interpolated.python, string.regexp.quoted.single.python
{{ : constant.character.escape.python, source.python, string.interpolated.python, string.regexp.quoted.single.python
foo : source.python, string.interpolated.python, string.regexp.quoted.single.python
}} : constant.character.escape.python, source.python, string.interpolated.python, string.regexp.quoted.single.python
' : punctuation.definition.string.end.python, source.python, string.interpolated.python, string.regexp.quoted.single.python
a : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
r : source.python, storage.type.string.python, string.regexp.quoted.single.python
' : punctuation.definition.string.begin.python, source.python, string.regexp.quoted.single.python
\{ : constant.character.escape.regexp, source.python, string.regexp.quoted.single.python
foo : source.python, string.regexp.quoted.single.python
\} : constant.character.escape.regexp, source.python, string.regexp.quoted.single.python
' : punctuation.definition.string.end.python, source.python, string.regexp.quoted.single.python