<s> from pygments . lexer import RegexLexer , bygroups <EOL> from pygments . token import * <EOL> class AbruptProxyLexer ( RegexLexer ) : <EOL> name = '<STR_LIT>' <EOL> aliases = [ '<STR_LIT>' ] <EOL> filenames = [ '<STR_LIT>' ] <EOL> tokens = { <EOL> '<STR_LIT:root>' : [ <EOL> ( r'<STR_LIT>' , bygroups ( Text , String , Text ) ) , <EOL> ( r'<STR_LIT>' , bygroups ( Text , String . Symbol , Text ) ) , <EOL> ( r'<STR_LIT>' , Text ) , <EOL> ] <EOL> } <EOL> def setup ( app ) : <EOL> app . add_lexer ( "<STR_LIT>" , AbruptProxyLexer ( ) ) </s>
