Skip to content

Upgrade regex-base,compat,posix with GHC 6.8

Since GHC is upgrading to 6.8 immanently I wanted to request updating the regex-* packages that it comes with. I hope this is a good location for such a request.

There benefits of the new regex-base:

  • The RegexMaker class has additional monadic versions which use fail to report errors. This is a vast improvement on having to go to a much lower level to handle errors.
  • Some RegexContext instances have been altered to use newtypes. This removes the potential overlaps and allows Hugs to compile the same code as GHC (which only detects overlaps lazily).
  • The latest regex-* packages (such as regex-pcre) expect the new regex-base and will be easier for users to install.

The new versions are under http://darcs.haskell.org/packages/regex-unstable/ and are currently:

regex-base: 0.91 regex-compat: 0.90 regex-posix: 0.92

I have not been personally following the ghc development branch, but I think they should either already compile or be easy to adapt to the new version.

Is there anything I should do to help support this upgrade?

Trac metadata
Trac field Value
Version 6.6.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries (other)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Multiple
Architecture Multiple
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information