Thanks. Looks kind of complicated. Are there any examples of how to use this stuff?
Michael
--- On Mon, 3/15/10, Stephen Tetley <stephen.tetley@gmail.com> wrote:
From: Stephen Tetley <stephen.tetley@gmail.com> Subject: Re: [Haskell-cafe] Using regexps to filter data To: "michael rice" <nowgate@yahoo.com> Cc: haskell-cafe@haskell.org Date: Monday, March 15, 2010, 7:14 AM
Hi Michael
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.
Best wishes
Stephen
|