[Haskell-cafe] Using regexps to filter data

Stephen Tetley stephen.tetley at gmail.com
Mon Mar 15 10:09:46 EDT 2010


On 15 March 2010 14:02, michael rice <nowgate at yahoo.com> wrote:
>
> Thanks. Looks kind of complicated. Are there any examples of how to use this stuff?

Hi Michael

I'm note sure, I haven't used the Regex package since it was moved out
of the libs distributed with GHC. I think the multiple backends were
added after this, and it was extended so matching could work on
ByteStrings as well as Strings.

PCRE-light is a simpler alternative, if you can live with PCRE style
regexs rather than Posix ones:

http://hackage.haskell.org/package/pcre-light


Best wishes

Stephen


More information about the Haskell-Cafe mailing list