rex: A quasi-quoter for typeful results of regex captures.
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.
[Skip to Readme]
Downloads
- rex-0.6.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1, 0.2, 0.3, 0.3.1, 0.4.1, 0.4.2, 0.4.3, 0.5, 0.5.1, 0.5.2, 0.6, 0.6.1, 0.6.2 |
---|---|
Change log | changelog.md |
Dependencies | base (>=3.0 && <6), bytestring, containers, haskell-src-exts (>=1.14), haskell-src-meta (>=0.5), pcre-light, template-haskell (>=2.5.0.0) [details] |
License | BSD-3-Clause |
Copyright | Michael Sloan 2011 |
Author | Michael Sloan |
Maintainer | Michael Sloan <mgsloan at gmail> |
Category | Control |
Home page | http://github.com/mgsloan/rex |
Bug tracker | http://github.com/mgsloan/rex/issues |
Source repo | head: git clone git://github.com/mgsloan/rex |
Uploaded | by MichaelSloan at 2022-04-15T16:33:51Z |
Distributions | LTSHaskell:0.6.2, NixOS:0.6.2, Stackage:0.6.2 |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 8825 total (65 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2022-04-15 [all 1 reports] |