ThirdParty/Pygments/pygments/regexopt.py

changeset 4697
c2e9bf425554
parent 4172
4f20dba37ab6
child 5713
6762afd9f963
equal deleted inserted replaced
4696:bf4d19a7cade 4697:c2e9bf425554
4 ~~~~~~~~~~~~~~~~~ 4 ~~~~~~~~~~~~~~~~~
5 5
6 An algorithm that generates optimized regexes for matching long lists of 6 An algorithm that generates optimized regexes for matching long lists of
7 literal strings. 7 literal strings.
8 8
9 :copyright: Copyright 2006-2014 by the Pygments team, see AUTHORS. 9 :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS.
10 :license: BSD, see LICENSE for details. 10 :license: BSD, see LICENSE for details.
11 """ 11 """
12 12
13 import re 13 import re
14 from re import escape 14 from re import escape

eric ide

mercurial