String matching

Simon Marlow
Wed, 29 Aug 2001 11:55:11 +0100

> I'm adding a search function to my www forum implemented in Haskell.
> Is there a Prelude/Library function that will efficiently=20
> find a pattern
> in a String? Nothing in modules PreludeList or List seem to=20
> fit the bill.

If you're using GHC, then there's a pretty good interface to the GNU
regex library in module RegexString (see