Home » Examples

The Tutorial

The Tutorial examples/re-tutorial.lhs provides an introduction to the package with simple examples that you can try out in your favourite Haskell REPL and references to examples in the example programs and library code.

The Test Suite

The Library Tests examples/re-tests.lhs contains a number of test suites for exercising various components of the library.

The NGINX Log Processor

The NGINX Log Processor Example examples/re-nginx-log-processor.lhs provides an extended example of large-scale RE development with the regex test bench.

The Regex Example Programs

Selected Library Modules

Some of the library modules have been prepared as literate programs for easy browsing of their underlying source code.