module documentation

This library implements a regex based scanner. Some languages like Pascal are easy to parse but have some keywords that depend on the context. Because of this it's impossible to lex that just by using a regular expression lexer like the RegexLexer.

Have a look at the DelphiLexer to get an idea of how to use this scanner.

Unknown Field: copyright
Copyright 2006-2021 by the Pygments team, see AUTHORS.
Unknown Field: license
BSD, see LICENSE for details.
Class ​End​Of​Text Raise if end of text is reached and the user tried to call a match function.
Class ​Scanner Simple scanner