regex-applicative-0.1: Regex-based parsing with applicative interface

Stabilityexperimental
MaintainerRoman Cheplyaka <roma@ro-che.info>

Text.Regex.Applicative.Reference

Description

Reference implementation (using backtracking)

Synopsis

Documentation

reference :: RE s a -> [s] -> Maybe aSource

reference r s should give the same results as s =~ r.

However, this is not very efficient implementation and is supposed to be used for testing only.