[Haskell-cafe] Using regexps to filter data
nowgate at yahoo.com
Mon Mar 15 10:02:15 EDT 2010
Thanks. Looks kind of complicated. Are there any examples of how to use this stuff?
--- On Mon, 3/15/10, Stephen Tetley <stephen.tetley at gmail.com> wrote:
From: Stephen Tetley <stephen.tetley at gmail.com>
Subject: Re: [Haskell-cafe] Using regexps to filter data
To: "michael rice" <nowgate at yahoo.com>
Cc: haskell-cafe at haskell.org
Date: Monday, March 15, 2010, 7:14 AM
I think you want to be using a one of the 'implementation' packages
directly rather than Text.Regex.Base.RegexLike (from regex-base), for
instance regex-posix. If you are searching a string you would want to
import the Text.Regex.Posix.String module.
Text.Regex.Base.RegexLike provides the interface, specific matchers
(e.g. Posix or PCRE) provide the implementation.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe