regexqq: A quasiquoter for PCRE regexes.
[$rx|([aeiou]).*(er|ing|tion)([\.,!\?]*)$|] "helloing.!?!?!" Just ["elloing.!?!?!","e","ing",".!?!?!"] ghci> tail `fmap` [$rx|^([+-])?([0-9]+)\.([0-9]+)|] (show $ negate pi) Just ["-","3","141592653589793"] ghci> maybe [] tail $ [$rx|^([+-])?([0-9]+)\.([0-9]+)|] (show $ negate pi) ["-","3","141592653589793"]
[Skip to Readme]
Downloads
- regexqq-0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1, 0.2, 0.3, 0.4, 0.5, 0.6 |
---|---|
Dependencies | base, bytestring, pcre-light, template-haskell (>=2.2) [details] |
License | BSD-3-Clause |
Copyright | Matt Morrow |
Author | Matt Morrow |
Maintainer | Matt Morrow <morrow@jypsis.com> |
Category | Text |
Uploaded | by MattMorrow at 2008-06-25T05:49:26Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 4306 total (12 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |