[Haskell] regular expression syntax - perl ain't got nothin on
haskell
Ross Paterson
ross at soi.city.ac.uk
Thu Feb 26 13:47:58 EST 2004
On Tue, Feb 24, 2004 at 05:24:41PM -0000, Simon Marlow wrote:
> [Graham Klyne wrote:]
> > I recently ran into some problems porting some Haskell code
> > to Windows
> > because it used the Text.Regex library, which is dependent on
> > a Unix-only system.
>
> Text.Regex works fine on Windows, at least on GHC. It seems that Hugs
> doesn't make it available, perhaps because it requires an auxiliary C
> regex engine, which we provide as part of GHC. It may be that this code
> isn't as portable as the rest of Hugs, which is why they don't provide
> it, but I'll let the Huge folks comment on that.
It looks possible. The only awkwardness I can see is telling the
Hugs package converter where to find regex.h
More information about the Haskell
mailing list