Common "Text.Regex.*" API for Regex matching

Version on this page:
LTS Haskell 18.5:
Stackage Nightly 2021-08-01:
Latest on Hackage:

See all snapshots regex-base appears in

BSD-3-Clause licensed by Christopher Kuklewicz
Maintained by
This version can be pinned in stack with:regex-base-,2253

Module documentation for

This package doesn't provide the ability to do regex matching, but instead provides the type-classes that constitute the abstract API that is implemented by regex-* backends such as

See also for more information.


See also

  • Breaking change: Switch RegExp API from the previously used Monad(fail) to MonadFail(fail) to denote matching failures

  • Define Extract Text instances for strict and lazy Text types

  • Compatibility with base-4.13.0

  • Explicitly declare all modules Safe under SafeHaskell for GHC 7.4 and higher