-
Notifications
You must be signed in to change notification settings - Fork 99
Expand file tree
/
Copy pathpython5.py
More file actions
44 lines (41 loc) · 2.48 KB
/
python5.py
File metadata and controls
44 lines (41 loc) · 2.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
a = r'foo#not a comment'
a = r'''
(?x) # multi-line regexp
foo # comment
'''
a = R'''
(?x) # not a
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
foo#not a comment : source.python, string.regexp.quoted.single.python
' : punctuation.definition.string.end.python, source.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.multi.python
''' : punctuation.definition.string.begin.python, source.python, string.regexp.quoted.multi.python
: source.python, string.regexp.quoted.multi.python
(?x) : source.python, storage.modifier.flag.regexp, 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
multi-line regexp : comment.line.number-sign.python, source.python, string.regexp.quoted.multi.python
foo : 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
a : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
R : source.python, storage.type.string.python, string.quoted.raw.multi.python
''' : punctuation.definition.string.begin.python, source.python, string.quoted.raw.multi.python
(?x) # not a : source.python, string.quoted.raw.multi.python
foo # comment : source.python, string.quoted.raw.multi.python
''' : punctuation.definition.string.end.python, source.python, string.quoted.raw.multi.python