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

Copyright(c) Roman Cheplyaka
LicenseMIT
MaintainerRoman Cheplyaka <roma@ro-che.info>
Stabilityexperimental
Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.Regex.Applicative.Reference

Description

Reference implementation (using backtracking).

This is exposed for testing purposes only!

Synopsis

Documentation

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

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.