eric6/ThirdParty/Pygments/pygments/lexers/modeling.py

changeset 7701
25f42e208e08
parent 7547
21b0534faebc
child 7983
54c5cfbb1e29
equal deleted inserted replaced
7700:a3cf077a8db3 7701:25f42e208e08
3 pygments.lexers.modeling 3 pygments.lexers.modeling
4 ~~~~~~~~~~~~~~~~~~~~~~~~ 4 ~~~~~~~~~~~~~~~~~~~~~~~~
5 5
6 Lexers for modeling languages. 6 Lexers for modeling languages.
7 7
8 :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS. 8 :copyright: Copyright 2006-2020 by the Pygments team, see AUTHORS.
9 :license: BSD, see LICENSE for details. 9 :license: BSD, see LICENSE for details.
10 """ 10 """
11 11
12 import re 12 import re
13 13
36 36
37 _name = r"(?:'(?:[^\\']|\\.)+'|[a-zA-Z_]\w*)" 37 _name = r"(?:'(?:[^\\']|\\.)+'|[a-zA-Z_]\w*)"
38 38
39 tokens = { 39 tokens = {
40 'whitespace': [ 40 'whitespace': [
41 (u'[\\s\ufeff]+', Text), 41 (r'[\s\ufeff]+', Text),
42 (r'//[^\n]*\n?', Comment.Single), 42 (r'//[^\n]*\n?', Comment.Single),
43 (r'/\*.*?\*/', Comment.Multiline) 43 (r'/\*.*?\*/', Comment.Multiline)
44 ], 44 ],
45 'root': [ 45 'root': [
46 include('whitespace'), 46 include('whitespace'),

eric ide

mercurial