The rex package


Provides a quasi-quoter for regular expressions which yields a tuple, of appropriate arity and types, representing the results of the captures. Allows the user to specify parsers for captures as inline Haskell. Can also be used to provide typeful pattern matching in function definitions and pattern matches. Also, it precompiles the regular expressions into a PCRE compiled byte-array representation, at compile time.


Versions0.1, 0.2, 0.3, 0.3.1, 0.4.1, 0.4.2, 0.4.3, 0.4.3, 0.5, 0.5.1
Dependenciesbase (>=3.0 && <6), bytestring, containers, haskell-src-exts (>=1.14), haskell-src-meta (>=0.5), pcre-light, template-haskell (>=
CopyrightMichael Sloan 2011
AuthorMichael Sloan
MaintainerMichael Sloan <mgsloan at gmail>
Home page
Bug tracker
Source repositoryhead: git clone git://
UploadedSat Dec 21 12:16:21 UTC 2013 by MichaelSloan




Maintainers' corner

For package maintainers and hackage trustees