The regexqq package

[ Tags: bsd3, library, text ] [ Propose Tags ]
[$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)

[Skip to Readme]


Versions 0.1, 0.2, 0.3, 0.4, 0.5, 0.6
Dependencies base, bytestring, pcre-light, template-haskell (>=2.2) [details]
License BSD3
Copyright Matt Morrow
Author Matt Morrow
Maintainer Matt Morrow <>
Category Text
Uploaded Wed Jun 25 05:49:26 UTC 2008 by MattMorrow
Distributions NixOS:0.6
Downloads 1924 total (433 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees

Readme for regexqq-0.1

[back to package description]
regexqq - Matt Morrow, 2008.

The current (as of 080623) location of the
current template-haskell docs are temporarily
(until they're located in the standard place)
available at:

An example:

ghci> :m + Text.Regex.PCRE.QQ
ghci> [$rx|([aeiou]).*(er|ing|tion)([\.,!\?]*)$|] "helloing.!?!?!"
Just ["elloing.!?!?!","e","ing",".!?!?!"]