packages feed

regex-compat 0.95.2.1 → 0.95.2.2

raw patch · 5 files changed

+70/−39 lines, 5 filesdep ~arraydep ~basesetup-changedPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: array, base

API changes (from Hackage documentation)

- Text.Regex: data Regex
+ Text.Regex: data () => Regex

Files

ChangeLog.md view
@@ -1,4 +1,19 @@-See also http://pvp.haskell.org/faq+## 0.95.2.2++_2025-03-02 Andreas Abel_++- Drop support for GHC 7+- Make `Prelude` imports explicit, add `LANGUAGE NoImplicitPrelude`+- Make upper bounds of dependencies major-major (all are shipped with GHC)+- Tested with GHC 8.0 - 9.12.1++## 0.95.2.1 revision 2++- Allow `base >= 4.17` (GHC 9.4)++## 0.95.2.1 revision 1++- Allow `base-4.16` (GHC 9.2)  ## 0.95.2.1 
+ README.md view
@@ -0,0 +1,9 @@+[![Hackage version](https://img.shields.io/hackage/v/regex-compat.svg?label=Hackage&color=informational)](http://hackage.haskell.org/package/regex-compat)+[![Stackage Nightly](http://stackage.org/package/regex-compat/badge/nightly)](http://stackage.org/nightly/package/regex-compat)+[![Stackage LTS](http://stackage.org/package/regex-compat/badge/lts)](http://stackage.org/lts/package/regex-compat)+[![Haskell-CI](https://github.com/haskell-hvr/regex-compat/actions/workflows/haskell-ci.yml/badge.svg?branch=master&event=push)](https://github.com/haskell-hvr/regex-compat/actions/workflows/haskell-ci.yml)+[![License](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)+regex-compat+============++[Documentation](https://hackage.haskell.org/package/regex-compat/docs/Text-Regex.html) on hackage.
− Setup.hs
@@ -1,2 +0,0 @@-import Distribution.Simple-main = defaultMain
Text/Regex.hs view
@@ -1,4 +1,4 @@-{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -Wno-name-shadowing #-} ----------------------------------------------------------------------------- -- | -- Module      :  Text.Regex@@ -29,6 +29,14 @@     splitRegex   ) where +import Prelude+  ( Bool+  , Maybe+  , String+  , ($), (.), id, fst, snd, seq, read+  , (+), (-)+  , (++), drop, fmap, map, null, take+  ) import Data.Array((!)) import Data.Bits((.|.)) import Text.Regex.Base(RegexMaker(makeRegexOpts),defaultExecOpt,RegexLike(matchAll,matchAllText),RegexContext(matchM),MatchText)
regex-compat.cabal view
@@ -1,17 +1,15 @@-cabal-version:          1.12+cabal-version:          1.24 name:                   regex-compat-version:                0.95.2.1+version:                0.95.2.2  build-type:             Simple license:                BSD3 license-file:           LICENSE copyright:              Copyright (c) 2006, Christopher Kuklewicz author:                 Christopher Kuklewicz-maintainer:-  Herbert Valerio Riedel <hvr@gnu.org>,-  Andreas Abel+maintainer:             Andreas Abel homepage:               https://wiki.haskell.org/Regular_expressions-bug-reports:            https://github.com/hvr/regex-compat/issues+bug-reports:            https://github.com/haskell-hvr/regex-compat/issues synopsis:               Replaces/enhances "Text.Regex" category:               Text description:@@ -19,48 +17,51 @@   .   See also <https://wiki.haskell.org/Regular_expressions> for more information. -extra-source-files:+extra-doc-files:   ChangeLog.md+  README.md  tested-with:-  -- Haskell CI:-  GHC == 7.0.4-  GHC == 7.2.2-  GHC == 7.4.2-  GHC == 7.6.3-  GHC == 7.8.4-  GHC == 7.10.3-  GHC == 8.0.2-  GHC == 8.2.2-  GHC == 8.4.4-  GHC == 8.6.5+  GHC == 9.12.1+  GHC == 9.10.1+  GHC == 9.8.4+  GHC == 9.6.6+  GHC == 9.4.8+  GHC == 9.2.8+  GHC == 9.0.2+  GHC == 8.10.7   GHC == 8.8.4-  GHC == 8.10.3-  -- manually (AA, 2021-02-17):-  -- GHC == 8.10.4-  -- GHC == 9.0.1+  GHC == 8.6.5+  GHC == 8.4.4+  GHC == 8.2.2+  GHC == 8.0.2  source-repository head   type:     git-  location: https://github.com/hvr/regex-compat.git+  location: https://github.com/haskell-hvr/regex-compat.git  source-repository this   type:     git-  location: https://github.com/hvr/regex-compat.git-  tag:      v0.95.2.1+  location: https://github.com/haskell-hvr/regex-compat.git+  tag:      v0.95.2.2  library   exposed-modules: Text.Regex -  build-depends: base        >= 4.3 && < 4.16-               , regex-base  == 0.94.*-               , regex-posix == 0.96.*-               , array       >= 0.3 && < 0.6--  default-language: Haskell2010-  default-extensions: MultiParamTypeClasses, FunctionalDependencies+  build-depends:+      base        >= 4.9 && < 5+    , regex-base  == 0.94.*+    , regex-posix == 0.96.*+    , array       >= 0.5 && < 1 -  if impl(ghc >= 7.2)-    default-extensions: Trustworthy+  default-language:+    Haskell2010+  default-extensions:+    NoImplicitPrelude+    Trustworthy+    MultiParamTypeClasses+    FunctionalDependencies -  ghc-options:            -Wall+  ghc-options:+    -Wall+    -Wcompat