[Haskell-cafe] Using regexps to filter data
Stephen Tetley
stephen.tetley at gmail.com
Mon Mar 15 07:14:59 EDT 2010
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
More information about the Haskell-Cafe
mailing list