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

21 lines
1.5 KiB
Python

a = r'''foo[abc] # comment'''
a : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
r : source.python, storage.type.string.python, string.regexp.quoted.multi.python
''' : punctuation.definition.string.begin.python, source.python, string.regexp.quoted.multi.python
foo : source.python, string.regexp.quoted.multi.python
[ : constant.other.set.regexp, meta.character.set.regexp, punctuation.character.set.begin.regexp, source.python, string.regexp.quoted.multi.python
a : constant.character.set.regexp, meta.character.set.regexp, source.python, string.regexp.quoted.multi.python
b : constant.character.set.regexp, meta.character.set.regexp, source.python, string.regexp.quoted.multi.python
c : constant.character.set.regexp, meta.character.set.regexp, source.python, string.regexp.quoted.multi.python
] : constant.other.set.regexp, meta.character.set.regexp, punctuation.character.set.end.regexp, source.python, string.regexp.quoted.multi.python
: source.python, string.regexp.quoted.multi.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python, string.regexp.quoted.multi.python
comment : comment.line.number-sign.python, source.python, string.regexp.quoted.multi.python
''' : punctuation.definition.string.end.python, source.python, string.regexp.quoted.multi.python