regex-base

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

https://wiki.haskell.org/Regular_expressions

Version on this page:0.94.0.1@rev:1
LTS Haskell 18.22:0.94.0.2
Stackage Nightly 2022-01-15:0.94.0.2
Latest on Hackage:0.94.0.2

See all snapshots regex-base appears in

BSD-3-Clause licensed by Christopher Kuklewicz
Maintained by Herbert Valerio Riedel, Andreas Abel
This version can be pinned in stack with:regex-base-0.94.0.1@sha256:35ff2d13c0e3ac364469c19e4c7c8775f5148977d8fcef58a424df0a10a53fa7,2608

Module documentation for 0.94.0.1

This package does not provide the ability to do regular expression matching. Instead, it 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.1

  • Workaround for {-# LANGUAGE Haskell2010 #-} parser regression introduced in GHC 9.0

  • Optimization flag -O2 has been removed

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