On Fri, Jan 29, 2010 at 1:09 AM, zaxis <z_axis@163.com> wrote:

`cabal install regex-compat` fixes my problem.  thanks!

For what it's worth, according to the documentation the "-compat" package is for easing a transition in the api (which has now been completed).  You may want to "upgrade" to a different package now, for instance regex-posix (which I've found to be in a nice spot between portability and performance).

Jason