Oh, I forgot to "reply-to-all".

---------- Forwarded message ----------
From: Paulo Tanimoto <[email protected]>
Date: Tue, Dec 29, 2009 at 9:39 AM
Subject: Re: [Haskell-cafe] ghc 6.12.1 and regex
To: David Fox <[email protected]>


Hi David,

On Tue, Dec 29, 2009 at 9:28 AM, David Fox <[email protected]> wrote:
> Is anyone else seeing this problem:
>
>> :m +Text.Regex.Posix
>> "\250" =~ "\250" :: Bool
> True
>> "\250" =~ "[\250]" :: Bool
> False

I also get that on GHC 6.10.4.  On the other hand:

$ cabal update
$ cabal install regex-tdfa
$ ghci
> :m +Text.Regex.TDFA
> "\250" =~ "\250" :: Bool
True
> "\250" =~ "[\250]" :: Bool
True

But the author says it's not fully Posix yet:
http://hackage.haskell.org/package/regex-tdfa

Paulo
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to