packages feed

regex-tdfa 1.3.1.0 → 1.3.1.1

raw patch · 3 files changed

+95/−59 lines, 3 filesdep ~basedep ~mtldep ~textnew-uploaderPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base, mtl, text

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,80 +1,107 @@-See also http://pvp.haskell.org/faq+For the package version policy (PVP), see  http://pvp.haskell.org/faq . +### 1.3.1.1++_2021-06-03, Andreas Abel_+- Removed extension `NoMonoPatBinds` from `.cabal`-file for GHC 9.2 compatibility.+- Removed some outdated documentation.++### 1.3.1.0 Revision 2++_2021-02-20, Andreas Abel_+- Compatibility with `base-4.15` (GHC 9.0) and `bytestring-0.11`++### 1.3.1.0 Revision 1++_2020-03-26, phadej_+- Compatibility with `base-4.14` (GHC 8.10)+ ## 1.3.1.0 +_2019-11-26, hvr_ - Merge <http://hackage.haskell.org/package/regex-tdfa-text> into `regex-tdfa`; see <https://github.com/haskell-hvr/regex-tdfa/issues/4>. - Don't inject `ghc-options: -O2` by default anymore (see #7 for rationale) and introduce `force-O2` cabal flag to control the injection of `ghc-options: -O2`.   Note that you can conveniently control optimization levels on a per-package granularity via `cabal.project` files; see [cabal's user-guide](https://cabal.readthedocs.io/en/latest/nix-local-build.html#configuring-builds-with-cabal-project) for more details. +## 1.3.0 Revision 1++_2019-11-26, hvr_+- Tighten bounds on `base`, `mtl`, `parsec` and fail.+ # 1.3.0 -- Same as 1.2.3.3 release; see <https://github.com/ChrisKuklewicz/regex-tdfa/issues/29>.+_2019-09-29, Artyom_+- Same as 1.2.3.3 release, but in accordance to PVP;+  see <https://github.com/ChrisKuklewicz/regex-tdfa/issues/29>. - Compatibility with GHC 8.8 and regex-base-0.9.4 (h/t @asr). - Turned `regex-tdfa-unittest` into a `regex-tdfa` testsuite. -------### 1.2.3.3 (deprecated)+### 1.2.3.3 (deprecated, not following PVP)  * Compatibility with GHC 8.8 and regex-base-0.9.4 (h/t @asr). * Turned `regex-tdfa-unittest` into a `regex-tdfa` testsuite.  ### 1.2.3.2 +_2019-05-09, Artyom_ * Significantly improved documentation (h/t William Yao).  ### 1.2.3.1 +_2018-06-22, Artyom_ * Compatibility with `containers-0.6`.  ## 1.2.3 +_2018-03-10, Artyom_ * Added `Semigroup` instances for some types (h/t Herbert Valerio Riedel).  ## 1.2.2 +_2016-04-28, Artyom_ * New maintainer. * Now we don't reexport the problematic `Show` instance for functions.  ## 1.2.1 +_2015-08-29, Chris Kuklewicz_ * Updated dependency versions.  # 1.2.0 -"Almost ghc-7.8" with the array 0.4 changes for `Data.Array.Unsafe`+_2014-02-02, Chris Kuklewicz_+* "Almost ghc-7.8" with the array 0.4 changes for `Data.Array.Unsafe` ----- -# 1.1.8+## 1.1.8  Make ghc-7.0.2 on platorm 2011.2.0.0.0 happy -# 1.1.7+## 1.1.7  fix url below -# 1.1.6+## 1.1.6  Fix bug preventing `[]] [-] [^]] [^-]` (thanks to Maxime Henrion) -# 1.1.5+## 1.1.5  try `needUniqTags` in `POr` in CorePattern.hs, try `toAdvice b` for `PStar child` -# 1.1.4+## 1.1.4  fixed -# 1.1.3+## 1.1.3  BROKEN after 100 characters the `compressOrbit` dies! -# 1.1.2+## 1.1.2  worked -# 1.1.1+## 1.1.1  add gnu escapes @@ -82,19 +109,19 @@  NewDFA code working -# 1.0.7+## 1.0.7  make NewDFA directory and String_NC -# 1.0.6+## 1.0.6  try NewDFATest_SBS with `uncons` -# 1.0.5+## 1.0.5  use `uncons` on SBS -# 1.0.4+## 1.0.4  try repaired NewDFATest_SBS @@ -111,11 +138,11 @@ * np3:  `!off` the multi? No * np2:  comment out all Testing code? No -# 1.0.3+## 1.0.3  try to alter `matchTest` to not have the `Bool` args? No -# 1.0.2+## 1.0.2  arg, the prof is fast and the normal slow! @@ -123,70 +150,70 @@  add NewDFATest.hs -# 0.99.20+## 0.99.20  go to many vs single? -# 0.99.19+## 0.99.19  try for pre-comparison of orbit-logs! -# 0.99.18+## 0.99.18  try alternate lazy/strict strategy in NewDFA. Fix offset laziness. -# 0.99.17+## 0.99.17  radical removal of flag array and adding of `SetVal` to handle groups -# 0.99.16+## 0.99.16  performance? up to v15 -# 0.99.15+## 0.99.15  get string with NewDFA testing, unit tests and 1000 random regex pass -# 0.99.14+## 0.99.14  start changing to the new real DFA -# 0.99.13+## 0.99.13  more cleanup -# 0.99.12+## 0.99.12  try to debug 0.99.11: fixed `updateWinner` -# 0.99.11+## 0.99.11  improve above fix and make stuff work better – HAS BUG, along with old TDFA! -# 0.99.10+## 0.99.10  fixed `((.?)*)*` patterns by changing `PStar nullView` when `mayFirstBeNull` -# 0.99.9+## 0.99.9  testing changing `bestTrans`/`chooseWith`/`choose` to include `enterOrbit`/`newFlags`/`(_,True)` info -# 0.99.8+## 0.99.8  testing changing `Maximize` to `Minimize` for `Tag`s, decide `(a*)*` is canonical problem -# 0.99.7+## 0.99.7  Use `(PGroup Nothing)` in `Pattern` to decompose `PBound` -# 0.99.6+## 0.99.6  change to nested `nonEmpty` calls for `PBound` -# 0.99.5+## 0.99.5  remove `PNonEmpty` constructor -# 0.99.4+## 0.99.4  tests `pnonempty' = \ p -> POr [ PEmpty, p ]` instead of `PNonEmpty`
lib/Text/Regex/TDFA.hs view
@@ -2,7 +2,8 @@ Module: Text.Regex.TDFA Copyright: (c) Chris Kuklewicz 2007-2009 SPDX-License-Identifier: BSD-3-Clause-Maintainer: hvr@gnu.org+Maintainer: hvr@gnu.org, Andreas Abel+Stability: stable  The "Text.Regex.TDFA" module provides a backend for regular expressions. It provides instances for the classes defined and@@ -18,9 +19,9 @@  = Importing and using -<https://www.haskell.org/cabal/users-guide/developing-packages.html#pkg-field-build-depends Declare a dependency> on the @regex-tdfa@ library in your @.cabal@ file:+Declare a dependency on the @regex-tdfa@ library in your @.cabal@ file: -> build-depends: regex-tdfa ^>= 1.3.1.0+> build-depends: regex-tdfa ^>= 1.3.1.1  In Haskell modules where you want to use regexes simply @import@ /this/ module: @@ -117,10 +118,7 @@  Depending on the text being searched this package supports Unicode. The @[Char]@, @Text@, @Text.Lazy@, and @(Seq Char)@ text types support Unicode.  The @ByteString@-and @ByteString.Lazy@ text types only support ASCII.  It is possible to-support utf8 encoded @ByteString.Lazy@ by using regex-tdfa and-<http://hackage.haskell.org/package/regex-tdfa-utf8 regex-tdfa-utf8>-packages together (required the utf8-string package).+and @ByteString.Lazy@ text types only support ASCII.  As of version 1.1.1 the following GNU extensions are recognized, all anchors:
regex-tdfa.cabal view
@@ -1,23 +1,17 @@ cabal-version:          1.12 name:                   regex-tdfa-version:                1.3.1.0+version:                1.3.1.1  build-Type:             Simple license:                BSD3 license-file:           LICENSE copyright:              Copyright (c) 2007-2009, Christopher Kuklewicz author:                 Christopher Kuklewicz-maintainer:             hvr@gnu.org+maintainer:+  Herbert Valerio Riedel <hvr@gnu.org>,+  Andreas Abel+homepage:               https://wiki.haskell.org/Regular_expressions bug-reports:            https://github.com/hvr/regex-tdfa/issues-tested-with:            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==8.8.1  category:               Text synopsis:               Pure Haskell Tagged DFA Backend for "Text.Regex" (regex-base)@@ -31,10 +25,28 @@   CHANGELOG.md   test/cases/*.txt +tested-with:+  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 == 8.8.4+  GHC == 8.10.4+  GHC == 9.0.1+ source-repository head   type:                git   location:            https://github.com/hvr/regex-tdfa.git +source-repository this+  type:                git+  location:            https://github.com/hvr/regex-tdfa.git+  tag:                 v1.3.1.1+ flag force-O2   default: False   manual: True@@ -85,8 +97,8 @@     build-depends:      fail               == 4.9.*                       , semigroups         == 0.18.* || == 0.19.*   build-depends:        array              >= 0.4 && < 0.6-                      , base               >= 4.5 && < 4.14-                      , bytestring         >= 0.9.2 && < 0.11+                      , base               >= 4.5 && < 4.16+                      , bytestring         >= 0.9.2 && < 0.12                       , containers         >= 0.4.2 && < 0.7                       , mtl                >= 2.1.3 && < 2.3                       , parsec             == 3.1.*@@ -102,7 +114,6 @@                         FunctionalDependencies                         MagicHash                         MultiParamTypeClasses-                        NoMonoPatBinds                         NondecreasingIndentation                         RecursiveDo                         TypeOperators