forked from MagicStack/MagicPython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathescaping3.py
More file actions
15 lines (11 loc) · 780 Bytes
/
escaping3.py
File metadata and controls
15 lines (11 loc) · 780 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
r'''Module docstring
(?x) # not a regexp
foo[20]{42} # not a comment
'''
r : source.python, storage.type.string.python, string.quoted.docstring.raw.multi.python
''' : punctuation.definition.string.begin.python, source.python, string.quoted.docstring.raw.multi.python
Module docstring : source.python, string.quoted.docstring.raw.multi.python
: source.python, string.quoted.docstring.raw.multi.python
(?x) # not a regexp : source.python, string.quoted.docstring.raw.multi.python
foo[20]{42} # not a comment : source.python, string.quoted.docstring.raw.multi.python
''' : punctuation.definition.string.end.python, source.python, string.quoted.docstring.raw.multi.python