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

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.