* GHC(i) has included Text.Regex in its Windows builds since at least 6.2.2
* The version of Hugs in CVS contains Text.Regex in the Windows build: Hugs.Base> :v -- Hugs Version 20050731 Hugs.Base> :l Text.Regex Text.Regex> let a = mkRegexWithOpts "(.*a$)" True True in matchRegex a (unlines ["asdf","fdsa"]) Just ["fdsa"] - Brian On 8/2/05, Srinivas Nedunuri <[EMAIL PROTECTED]> wrote: > hi, thanks for the info. I found a package that implements RegEx on windows > so I'll try that out > > ----- Original Message ----- > From: "Bernard Pope" <[EMAIL PROTECTED]> > To: "Srinivas Nedunuri" <[EMAIL PROTECTED]> > Cc: <haskell@haskell.org> > Sent: Wednesday, July 27, 2005 10:07 PM > Subject: Re: [Haskell] problems with RegEx > > > > On Wed, 2005-07-27 at 21:26 -0500, Srinivas Nedunuri wrote: > > > hello, I'm trying to use the Text.Regex library from Hugs. However, > > > Hugs doesn't recognize any of the methods in there. For example if I > > > try to use the mkRegex function I get the error message "Undefined > > > variable "mkRegex". I have imported Text.Regex into the module. I > > > looked at the contents of the module in the HUGS library but couldnt > > > make out too much. It looked basically empty although Text.Regex.Posix > > > had some includes. Any help would be appreciated > > > > > > cheers > > > > Text.Regex is non portable, it only works when your system has a regex > > library installed, Posix I believe. > > It may be the case that your system is not supported. What platform are > > you using, and which version of Hugs? > > > > It works on my machine which is ubuntu linux hoary, with hugs November > > 2003. > > > > Bernie. > > _______________________________________________ > Haskell mailing list > Haskell@haskell.org > http://www.haskell.org/mailman/listinfo/haskell > _______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell