The regexqq package

[Tags: bsd3, library]

A quasiquoter for Text.Regex.PCRE regexes. This makes use of a new GHC extension known as QuasiQuotes. QuasiQuotes do not appear in ghc until 6.9, BUT there is a patch for ghc-6.8.3 which adds quasiquote functionality. A patched version of ghc-6.8.3, made possible by audreyt's patch, is at http://code.haskell.org/~morrow/quasiquotes/ghc-6.8.3_QQ-0.2.tar.bz2. An example of the use of regexqq is located at http://code.haskell.org/~morrow/quasiquotes/regexqq.txt. Haddock docs are at http://code.haskell.org/~morrow/quasiquotes/regexqq/docs/.


[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 <mjm2002@gmail.com>
Stabilityunstable
CategoryText
Home pagehttp://code.haskell.org/~morrow/code/haskell/regexqq
UploadedWed Jun 25 12:44:37 UTC 2008 by MattMorrow
DistributionsNixOS:0.6
Downloads788 total (53 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.6

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",".!?!?!"]