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 """ |