The regexqq package

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

Properties

Versions0.1, 0.2, 0.3, 0.4, 0.5, 0.6
Change logNone available
Dependenciesbase, bytestring, pcre-light, template-haskell (>=2.2) [details]
LicenseBSD3
CopyrightMatt Morrow
AuthorMatt Morrow
MaintainerMatt Morrow <morrow@jypsis.com>
Stabilityunstable
CategoryText
UploadedWed Jun 25 05:49:26 UTC 2008 by MattMorrow
Downloads831 total (43 in last 30 days)
Votes
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for regexqq-0.1

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:

http://code.haskell.org/~morrow/code/haskell/misc/template-haskell-HEAD_080623/

An example:

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