ThirdParty/Pygments/pygments/scanner.py

changeset 4172
4f20dba37ab6
parent 3145
a9de05d4a22f
child 4697
c2e9bf425554
equal deleted inserted replaced
4170:8bc578136279 4172:4f20dba37ab6
10 `RegexLexer`. 10 `RegexLexer`.
11 11
12 Have a look at the `DelphiLexer` to get an idea of how to use 12 Have a look at the `DelphiLexer` to get an idea of how to use
13 this scanner. 13 this scanner.
14 14
15 :copyright: Copyright 2006-2013 by the Pygments team, see AUTHORS. 15 :copyright: Copyright 2006-2014 by the Pygments team, see AUTHORS.
16 :license: BSD, see LICENSE for details. 16 :license: BSD, see LICENSE for details.
17 """ 17 """
18 from __future__ import unicode_literals
19
20 import re 18 import re
21 19
22 20
23 class EndOfText(RuntimeError): 21 class EndOfText(RuntimeError):
24 """ 22 """

eric ide

mercurial