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

27 lines
1.2 KiB
Python

a = r'
(?x)
foo
'
# comment
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
: invalid.illegal.newline.python, source.python, string.regexp.quoted.single.python
: source.python
( : punctuation.parenthesis.begin.python, source.python
? : invalid.illegal.operator.python, source.python
x : source.python
) : punctuation.parenthesis.end.python, source.python
: source.python
foo : source.python
' : punctuation.definition.string.begin.python, source.python, string.quoted.docstring.single.python
: invalid.illegal.newline.python, source.python, string.quoted.docstring.single.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
comment : comment.line.number-sign.python, source.python