regex-base

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

https://wiki.haskell.org/Regular_expressions

Version on this page:0.94.0.0
LTS Haskell 23.19:0.94.0.3
Stackage Nightly 2025-04-30:0.94.0.3
Latest on Hackage:0.94.0.3

See all snapshots regex-base appears in

BSD-3-Clause licensed by Christopher Kuklewicz
Maintained by [email protected]
This version can be pinned in stack with:regex-base-0.94.0.0@sha256:d514eab2aa9ba4b9d14900ac40cbdea1993372466a6cc6ffeeab59a1975563c0,2166

Module documentation for 0.94.0.0

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 https://wiki.haskell.org/Regular_expressions for more information.

Changes

See also http://pvp.haskell.org/faq

0.94.0.0

  • 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