euporie.core.pygments.RegexLexer

class euporie.core.pygments.RegexLexer(*args, **kwds)

Base for simple stateful regular expression-based lexers. Simplifies the lexing process so that you need only provide a list of states and regular expressions.