regexqq

A quasiquoter for PCRE regexes. http://code.haskell.org/~morrow/code/haskell/regexqq

Latest on Hackage:0.6

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by Matt Morrow
Maintained by Matt Morrow
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",".!?!?!"]
comments powered byDisqus