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.
Properties
| Versions | 0.1, 0.2, 0.3, 0.3.1, 0.4.1, 0.4.2 |
|---|---|
| Dependencies | base (≥3.0 & <6), bytestring, containers, ghc (≥7.0), haskell-src-meta (≥0.5), pcre-light, split, template-haskell (≥2.5.0.0) |
| License | BSD3 |
| Copyright | Michael Sloan 2011 |
| Author | Michael Sloan |
| Maintainer | Michael Sloan <mgsloan at gmail> |
| Stability | experimental |
| Category | Control |
| Home page | http://github.com/mgsloan/rex |
| Bug tracker | http://github.com/mgsloan/rex/issues |
| Source repository | git clone git://github.com/mgsloan/rex |
| Upload date | Mon Feb 4 22:50:58 UTC 2013 |
| Uploaded by | MichaelSloan |
| Built on | ghc-7.6 |
Modules
- Text
Downloads
- rex-0.4.1.tar.gz (Cabal source package)
- package description (included in the package)