diff --git a/.travis.yml b/.travis.yml index 67a257e..42d7701 100644 --- a/.travis.yml +++ b/.travis.yml @@ -46,25 +46,17 @@ matrix: compiler: ": #stack 7.10.3" addons: {apt: {packages: [libgmp-dev]}} - - env: BUILD=stack GHCVER=7.8.4 STACK_YAML=stack-7.8.yaml - compiler: ": #stack 7.8.4" - addons: {apt: {packages: [libgmp-dev]}} - - env: BUILD=stack GHCVER=8.0.2 STACK_YAML=stack-8.0.yaml compiler: ": #stack 8.0.2" addons: {apt: {packages: [libgmp-dev]}} - # Linux/cabal - - - env: BUILD=cabal GHCVER=7.10.3 CABALVER=1.22 HAPPYVER=1.19.5 ALEXVER=3.1.7 - compiler: ": #GHC 7.10.3" - addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.3,happy-1.19.5,alex-3.1.7], sources: [hvr-ghc]}} - - env: BUILD=cabal GHCVER=7.8.4 CABALVER=1.18 HAPPYVER=1.19.5 ALEXVER=3.1.7 - compiler: ": #GHC 7.8.4" - addons: {apt: {packages: [cabal-install-1.18,ghc-7.8.4,happy-1.19.5,alex-3.1.7], sources: [hvr-ghc]}} - - env: BUILD=cabal GHCVER=8.0.2 CABALVER=1.24 HAPPYVER=1.19.5 ALEXVER=3.1.7 - compiler: ": #GHC 8.0.2" - addons: {apt: {packages: [cabal-install-1.24,ghc-8.0.2,happy-1.19.5,alex-3.1.7], sources: [hvr-ghc]}} + - env: BUILD=stack GHCVER=8.4.4 STACK_YAML=stack-8.4.yaml + compiler: ": #stack 8.4.4" + addons: {apt: {packages: [libgmp-dev]}} + + - env: BUILD=stack GHCVER=8.6.2 STACK_YAML=stack-8.4.yaml + compiler: ": #stack 8.6.2" + addons: {apt: {packages: [libgmp-dev]}} # macOS (stack) diff --git a/Text/RE/ZeInternals/Replace.lhs b/Text/RE/ZeInternals/Replace.lhs index 0b45fc7..5d8c1fd 100644 --- a/Text/RE/ZeInternals/Replace.lhs +++ b/Text/RE/ZeInternals/Replace.lhs @@ -5,6 +5,7 @@ {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleInstances #-} +{-# LANGUAGE MonoLocalBinds #-} module Text.RE.ZeInternals.Replace ( diff --git a/Text/RE/ZeInternals/Types/Match.lhs b/Text/RE/ZeInternals/Types/Match.lhs index 84075d4..c22ddec 100644 --- a/Text/RE/ZeInternals/Types/Match.lhs +++ b/Text/RE/ZeInternals/Types/Match.lhs @@ -4,6 +4,7 @@ {-# LANGUAGE UndecidableInstances #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE DeriveDataTypeable #-} +{-# LANGUAGE MonoLocalBinds #-} \end{code} \begin{code} diff --git a/Text/RE/ZeInternals/Types/Matches.lhs b/Text/RE/ZeInternals/Types/Matches.lhs index 1112090..5499071 100644 --- a/Text/RE/ZeInternals/Types/Matches.lhs +++ b/Text/RE/ZeInternals/Types/Matches.lhs @@ -4,6 +4,7 @@ {-# LANGUAGE UndecidableInstances #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE DeriveDataTypeable #-} +{-# LANGUAGE MonoLocalBinds #-} \end{code} \begin{code} diff --git a/appveyor.yml b/appveyor.yml index 53c9f29..7dc49bd 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -17,7 +17,8 @@ environment: STACK_ROOT: "c:\\sr" test_script: +- cp lib/regex.cabal . - stack setup > nul # The ugly echo "" hack is to avoid complaints about 0 being an invalid file # descriptor -- echo "" | stack --no-terminal --stack-yaml stack-8.0.yaml test +- echo "" | stack --no-terminal --stack-yaml stack-8.4.yaml build regex:lib diff --git a/changelog b/changelog index 393fd52..1c33d43 100644 --- a/changelog +++ b/changelog @@ -1,5 +1,8 @@ -*-change-log-*- +1.0.1.4 Chris Dornan 2018-12-14 + * GHC-8.4.4, GHC-8.6.2 (#160) + 1.0.1.3 Chris Dornan 2017-06-05 * Suspending UTF-8 tests for Windows/PCRE (#144) diff --git a/examples/TestKit.lhs b/examples/TestKit.lhs index f50a9bb..a85bd00 100644 --- a/examples/TestKit.lhs +++ b/examples/TestKit.lhs @@ -42,6 +42,7 @@ import qualified Data.ByteString.Lazy.Char8 as LBS import qualified Data.List as L import Data.Maybe import qualified Data.Text as T +import qualified Data.Text.IO as T import Prelude.Compat import qualified Shelly as SH import System.Directory @@ -109,7 +110,7 @@ substVersion_ txt = ms = txt *=~ [re|<<\$version\$>>|] readCurrentVersion :: IO Vrn -readCurrentVersion = parseVrn <$> readFile "lib/version.txt" +readCurrentVersion = parseVrn . T.unpack <$> T.readFile "lib/version.txt" write_current_version :: Vrn -> IO () write_current_version = writeFile "lib/version.txt" . presentVrn diff --git a/examples/re-tests.lhs b/examples/re-tests.lhs index 3142ba0..ccfd095 100644 --- a/examples/re-tests.lhs +++ b/examples/re-tests.lhs @@ -368,18 +368,18 @@ search_replace_tests :: TestTree search_replace_tests = testGroup "SearchReplace" $ [ testCase "?=~/ [ed_| ... |]" $ "baz bar foobar" @=? "foo bar foobar" T_ST.?=~/ [ed_|foo///baz|] () , testCase "*=~/ [ed_| ... |]" $ "baz bar bazbar" @=? "foo bar foobar" T_ST.*=~/ [ed_|foo///baz|] MultilineSensitive - , testCase "TDFA.ed/String" $ test id tdfa_eds - , testCase "PCRE.ed/String" $ test id pcre_eds - , testCase "TDFA.ed/B" $ test B.pack tdfa_eds - , testCase "PCRE.ed/B" $ test B.pack pcre_eds - , testCase "TDFA.ed/LBS" $ test LBS.pack tdfa_eds - , testCase "PCRE.ed/LBS" $ test LBS.pack pcre_eds - , testCase "TDFA.ed/S" $ test S.fromList tdfa_eds - , testCase "PCRE.ed/S" $ test S.fromList pcre_eds - , testCase "TDFA.ed/T" $ test T.pack tdfa_eds - , testCase "TDFA.ed/LT" $ test LT.pack tdfa_eds - , testCase "TDFA.ed/T(d)" $ test T.pack tdfa_eds' - , testCase "PCRE.ed/LBS(d)" $ test LBS.pack pcre_eds' + , testCase "TDFA.ed/String" $ test_ id tdfa_eds + , testCase "PCRE.ed/String" $ test_ id pcre_eds + , testCase "TDFA.ed/B" $ test_ B.pack tdfa_eds + , testCase "PCRE.ed/B" $ test_ B.pack pcre_eds + , testCase "TDFA.ed/LBS" $ test_ LBS.pack tdfa_eds + , testCase "PCRE.ed/LBS" $ test_ LBS.pack pcre_eds + , testCase "TDFA.ed/S" $ test_ S.fromList tdfa_eds + , testCase "PCRE.ed/S" $ test_ S.fromList pcre_eds + , testCase "TDFA.ed/T" $ test_ T.pack tdfa_eds + , testCase "TDFA.ed/LT" $ test_ LT.pack tdfa_eds + , testCase "TDFA.ed/T(d)" $ test_ T.pack tdfa_eds' + , testCase "PCRE.ed/LBS(d)" $ test_ LBS.pack pcre_eds' , testg "TDFA.op" (T_ST.?=~/) (T_ST.*=~/) tdfa_sr , testg "PCRE.op" (P_ST.?=~/) (P_ST.*=~/) pcre_sr , testg "TDFA.op/String" (T_ST.?=~/) (T_ST.*=~/) tdfa_sr_str @@ -414,8 +414,8 @@ search_replace_tests = testGroup "SearchReplace" $ True -> const [] False -> id - test :: IsRegex re a => (String->a) -> Edits Identity re a -> Assertion - test inj eds = inj rsm @=? runIdentity (sed' eds $ inj inp) + test_ :: IsRegex re a => (String->a) -> Edits Identity re a -> Assertion + test_ inj eds = inj rsm @=? runIdentity (sed' eds $ inj inp) testg lab op1 opm sr = testGroup lab [ testCase "?=~/" $ rs1 @=? inp `op1` sr @@ -549,34 +549,34 @@ options_tests = testGroup "Simple REOptions" \begin{code} many_tests :: TestTree many_tests = testGroup "Many Tests" - [ testCase "PCRE a" $ test (PCRE.*=~) (PCRE.?=~) (PCRE.=~) (PCRE.=~~) matchOnce matchMany makeSearchReplace id re_pcre - , testCase "PCRE ByteString" $ test (P_BS.*=~) (P_BS.?=~) (P_BS.=~) (P_BS.=~~) matchOnce matchMany makeSearchReplace B.pack re_pcre - , testCase "PCRE ByteString.Lazy" $ test (PLBS.*=~) (PLBS.?=~) (PLBS.=~) (PLBS.=~~) matchOnce matchMany makeSearchReplace LBS.pack re_pcre - , testCase "PCRE Sequence" $ test (P_SQ.*=~) (P_SQ.?=~) (P_SQ.=~) (P_SQ.=~~) matchOnce matchMany makeSearchReplace S.fromList re_pcre - , testCase "PCRE String" $ test (P_ST.*=~) (P_ST.?=~) (P_ST.=~) (P_ST.=~~) matchOnce matchMany makeSearchReplace id re_pcre - , testCase "PCRE Text" $ test (P_TX.*=~) (P_TX.?=~) (P_TX.=~) (P_TX.=~~) matchOnce matchMany makeSearchReplace T.pack re_pcre - , testCase "PCRE Text.Lazy" $ test (PLTX.*=~) (PLTX.?=~) (PLTX.=~) (PLTX.=~~) matchOnce matchMany makeSearchReplace LT.pack re_pcre - , testCase "TDFA a" $ test (TDFA.*=~) (TDFA.?=~) (TDFA.=~) (TDFA.=~~) matchOnce matchMany makeSearchReplace id re_tdfa - , testCase "TDFA ByteString" $ test (T_BS.*=~) (T_BS.?=~) (T_BS.=~) (T_BS.=~~) matchOnce matchMany makeSearchReplace B.pack re_tdfa - , testCase "TDFA ByteString.Lazy" $ test (TLBS.*=~) (TLBS.?=~) (TLBS.=~) (TLBS.=~~) matchOnce matchMany makeSearchReplace LBS.pack re_tdfa - , testCase "TDFA Sequence" $ test (T_SQ.*=~) (T_SQ.?=~) (T_SQ.=~) (T_SQ.=~~) matchOnce matchMany makeSearchReplace S.fromList re_tdfa - , testCase "TDFA String" $ test (T_ST.*=~) (T_ST.?=~) (T_ST.=~) (T_ST.=~~) matchOnce matchMany makeSearchReplace id re_tdfa - , testCase "TDFA Text" $ test (T_TX.*=~) (T_TX.?=~) (T_TX.=~) (T_TX.=~~) matchOnce matchMany makeSearchReplace T.pack re_tdfa - , testCase "TDFA Text.Lazy" $ test (TLTX.*=~) (TLTX.?=~) (TLTX.=~) (TLTX.=~~) matchOnce matchMany makeSearchReplace LT.pack re_tdfa + [ testCase "PCRE a" $ test_ (PCRE.*=~) (PCRE.?=~) (PCRE.=~) (PCRE.=~~) matchOnce matchMany makeSearchReplace id re_pcre + , testCase "PCRE ByteString" $ test_ (P_BS.*=~) (P_BS.?=~) (P_BS.=~) (P_BS.=~~) matchOnce matchMany makeSearchReplace B.pack re_pcre + , testCase "PCRE ByteString.Lazy" $ test_ (PLBS.*=~) (PLBS.?=~) (PLBS.=~) (PLBS.=~~) matchOnce matchMany makeSearchReplace LBS.pack re_pcre + , testCase "PCRE Sequence" $ test_ (P_SQ.*=~) (P_SQ.?=~) (P_SQ.=~) (P_SQ.=~~) matchOnce matchMany makeSearchReplace S.fromList re_pcre + , testCase "PCRE String" $ test_ (P_ST.*=~) (P_ST.?=~) (P_ST.=~) (P_ST.=~~) matchOnce matchMany makeSearchReplace id re_pcre + , testCase "PCRE Text" $ test_ (P_TX.*=~) (P_TX.?=~) (P_TX.=~) (P_TX.=~~) matchOnce matchMany makeSearchReplace T.pack re_pcre + , testCase "PCRE Text.Lazy" $ test_ (PLTX.*=~) (PLTX.?=~) (PLTX.=~) (PLTX.=~~) matchOnce matchMany makeSearchReplace LT.pack re_pcre + , testCase "TDFA a" $ test_ (TDFA.*=~) (TDFA.?=~) (TDFA.=~) (TDFA.=~~) matchOnce matchMany makeSearchReplace id re_tdfa + , testCase "TDFA ByteString" $ test_ (T_BS.*=~) (T_BS.?=~) (T_BS.=~) (T_BS.=~~) matchOnce matchMany makeSearchReplace B.pack re_tdfa + , testCase "TDFA ByteString.Lazy" $ test_ (TLBS.*=~) (TLBS.?=~) (TLBS.=~) (TLBS.=~~) matchOnce matchMany makeSearchReplace LBS.pack re_tdfa + , testCase "TDFA Sequence" $ test_ (T_SQ.*=~) (T_SQ.?=~) (T_SQ.=~) (T_SQ.=~~) matchOnce matchMany makeSearchReplace S.fromList re_tdfa + , testCase "TDFA String" $ test_ (T_ST.*=~) (T_ST.?=~) (T_ST.=~) (T_ST.=~~) matchOnce matchMany makeSearchReplace id re_tdfa + , testCase "TDFA Text" $ test_ (T_TX.*=~) (T_TX.?=~) (T_TX.=~) (T_TX.=~~) matchOnce matchMany makeSearchReplace T.pack re_tdfa + , testCase "TDFA Text.Lazy" $ test_ (TLTX.*=~) (TLTX.?=~) (TLTX.=~) (TLTX.=~~) matchOnce matchMany makeSearchReplace LT.pack re_tdfa ] where - test :: (IsRegex r s,Show s,Eq s) - => (s->r->Matches s) - -> (s->r->Match s) - -> (s->r->Matches s) - -> (s->r->Maybe(Match s)) - -> (r->s->Match s) - -> (r->s->Matches s) - -> (s->s->Either String (SearchReplace r s)) - -> (String->s) - -> r - -> Assertion - test (%*=~) (%?=~) (%=~) (%=~~) mo mm mk_sr0 inj r = do + test_ :: (IsRegex r s,Show s,Eq s) + => (s->r->Matches s) + -> (s->r->Match s) + -> (s->r->Matches s) + -> (s->r->Maybe(Match s)) + -> (r->s->Match s) + -> (r->s->Matches s) + -> (s->s->Either String (SearchReplace r s)) + -> (String->s) + -> r + -> Assertion + test_ (%*=~) (%?=~) (%=~) (%=~~) mo mm mk_sr0 inj r = do 2 @=? countMatches mtchs Just txt' @=? matchedText mtch mtchs @=? mtchs' diff --git a/examples/re-top.lhs b/examples/re-top.lhs index e847932..7e5a9f3 100644 --- a/examples/re-top.lhs +++ b/examples/re-top.lhs @@ -11,6 +11,7 @@ repo](git@github.com:cdornan/eng-england.git) into the parent directory and checkout the 'corrections' branch. \begin{code} +{-# LANGUAGE CPP #-} {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE OverloadedStrings #-} @@ -112,17 +113,32 @@ data Results = These vectors have expected zeros and sums. \begin{code} +#if __GLASGOW_HASKELL__ >= 804 +instance Semigroup Results where + (<>) = mappend_r +#endif + instance Monoid Results where - mempty = Results 0 0 0 0 0 - mappend (Results gp1 gw1 gf1 ga1 ps1) + mempty = mempty_r + mappend = mappend_r +\end{code} + + +\begin{code} +mappend_r :: Results -> Results -> Results +mappend_r (Results gp1 gw1 gf1 ga1 ps1) (Results gp2 gw2 gf2 ga2 ps2) = - Results (gp1+gp2) - (gw1+gw2) - (gf1+gf2) - (ga1+ga2) - (ps1+ps2) + Results (gp1+gp2) + (gw1+gw2) + (gf1+gf2) + (ga1+ga2) + (ps1+ps2) + +mempty_r :: Results +mempty_r = Results 0 0 0 0 0 \end{code} + PL results are ordered by (points,goal-difference,goals-scored). \begin{code} diff --git a/examples/re-tutorial.lhs b/examples/re-tutorial.lhs index e248d4d..b035f41 100644 --- a/examples/re-tutorial.lhs +++ b/examples/re-tutorial.lhs @@ -44,10 +44,6 @@ to answer two questions: is for you, otherwise it is the PCRE back end, which is housed in a seperate `regex-with-pcre` package. - 2. Which Haskell type is being used for the text I need to match? This - can influence as, at the time of writing, the `PCRE` `regex` back end - [does not support the`Text` types](https://github.com/iconnect/regex/issues/58). - The import statement will in general look like this ``` import Text.RE.. diff --git a/lib/cabal-masters/constraints-incl.cabal b/lib/cabal-masters/constraints-incl.cabal index 972881f..c0b2189 100644 --- a/lib/cabal-masters/constraints-incl.cabal +++ b/lib/cabal-masters/constraints-incl.cabal @@ -1,11 +1,9 @@ -%- regex == <<$version$>> -%- regex-with-pcre == <<$version$>> -%- array >= 0.4 && < 0.6 -%- base >= 4 && < 5 -%- base-compat >= 0.6 && < 0.10 +%- array >= 0.4 +%- base >= 4 && < 5 +%- base-compat >= 0.6 %- blaze-html >= 0.8.1.0 %- bytestring == 0.10.* -%- containers >= 0.4 && < 0.6 +%- containers >= 0.4 %- data-default >= 0.5.3 %- directory >= 1.2.1.0 %- filepath >= 1.3.0.2 @@ -23,10 +21,10 @@ %- tasty >= 0.10.1.2 %- tasty-hunit >= 0.9.2 %- tasty-smallcheck >= 0.8.0.1 -%- template-haskell >= 2.7 && < 2.12 +%- template-haskell >= 2.7 %- text == 1.2.* -%- time >= 1.4.2 && < 1.9 +%- time >= 1.4.2 %- time-locale-compat == 0.1.* -%- transformers >= 0.2.2 && < 0.6 +%- transformers >= 0.2.2 %- unordered-containers == 0.2.* -%- utf8-string >= 1 && < 1.1 +%- utf8-string >= 1 diff --git a/lib/cabal-masters/executables-incl.cabal b/lib/cabal-masters/executables-incl.cabal index 7fa522e..6278f55 100644 --- a/lib/cabal-masters/executables-incl.cabal +++ b/lib/cabal-masters/executables-incl.cabal @@ -97,8 +97,8 @@ Other-Modules: TestKit - Extensions: OverloadedStrings Default-Extensions: QuasiQuotes + OverloadedStrings %build-depends-prog regex array base base-compat bytestring containers directory hashable heredoc regex-base regex-tdfa regex-tdfa-text regex-pcre-builtin shelly smallcheck tasty tasty-hunit tasty-smallcheck template-haskell transformers text time time-locale-compat unordered-containers %test-exe re-tutorial-options diff --git a/lib/cabal-masters/regex-incl.cabal b/lib/cabal-masters/regex-incl.cabal index c0f3f6f..62c9c7d 100644 --- a/lib/cabal-masters/regex-incl.cabal +++ b/lib/cabal-masters/regex-incl.cabal @@ -19,7 +19,7 @@ Stability: Stable bug-reports: http://issues.regex.uk Extra-Source-Files: - README.markdown + README.md changelog Cabal-Version: >= 1.10 diff --git a/lib/cabal-masters/test-extra-source-files-incl.cabal b/lib/cabal-masters/test-extra-source-files-incl.cabal index 2f2132b..048a436 100644 --- a/lib/cabal-masters/test-extra-source-files-incl.cabal +++ b/lib/cabal-masters/test-extra-source-files-incl.cabal @@ -1,5 +1,5 @@ Extra-Source-Files: - README.markdown + README.md changelog data/2015-16-premierleague.txt data/access-errors.log diff --git a/lib/md/roadmap-incl.md b/lib/md/roadmap-incl.md index 502c5d9..2297d8c 100644 --- a/lib/md/roadmap-incl.md +++ b/lib/md/roadmap-incl.md @@ -3,4 +3,4 @@ - [X] 2017-06-04 v1.0.1.1 [Fix 1.0.1.0 release bug and provisionally fix UTF8/PCRE interworking](https://github.com/iconnect/regex/milestone/20) - [X] 2017-06-05 v1.0.1.2 [Permit utf8-string-1](https://github.com/iconnect/regex/milestone/21) - [X] 2017-06-05 v1.0.1.3 [Suspend Windows tests for PCRE on UTF-8 text](https://github.com/iconnect/regex/milestone/22) -- [ ] 2017-08-31 v2.0.0.0 [Fast text replacement with benchmarks](https://github.com/iconnect/regex/milestone/4) +- [X] 2018-12-14 v1.0.1.4 [Fix for GHC 8.4.4, GHC-8.6.2](https://github.com/iconnect/regex/milestone/23) diff --git a/lib/mega-regex.cabal b/lib/mega-regex.cabal index 14be4b6..a0caeb3 100644 --- a/lib/mega-regex.cabal +++ b/lib/mega-regex.cabal @@ -1,5 +1,5 @@ Name: regex -Version: 1.0.1.3 +Version: 1.0.1.4 Synopsis: Toolkit for regex-base Description: A regular expression toolkit for regex-base with compile-time checking of RE syntax, data types for @@ -20,7 +20,7 @@ Stability: Stable bug-reports: http://issues.regex.uk Extra-Source-Files: - README.markdown + README.md changelog data/2015-16-premierleague.txt data/access-errors.log @@ -68,7 +68,7 @@ Source-Repository head Source-Repository this Type: git Location: https://github.com/iconnect/regex.git - Tag: 1.0.1.3 + Tag: 1.0.1.4 @@ -175,24 +175,24 @@ Library -Werror Build-depends: - array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , hashable == 1.2.* , regex-base == 0.93.* , regex-pcre-builtin == 0.94.* , regex-pcre-text == 0.94.* , regex-tdfa == 1.2.* , regex-tdfa-text == 1.0.* - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* - , utf8-string >= 1 && < 1.1 + , utf8-string >= 1 Executable re-gen-cabals @@ -211,12 +211,12 @@ Executable re-gen-cabals -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , regex-base == 0.93.* , regex-tdfa == 1.2.* @@ -241,12 +241,12 @@ Test-Suite re-gen-cabals-test -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , regex-base == 0.93.* , regex-tdfa == 1.2.* @@ -271,10 +271,10 @@ Executable re-gen-modules -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , regex-base == 0.93.* @@ -300,10 +300,10 @@ Test-Suite re-gen-modules-test -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , regex-base == 0.93.* @@ -329,9 +329,9 @@ Executable re-include -Werror Build-depends: - regex == 1.0.1.3 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , shelly >= 1.6.1.2 @@ -355,9 +355,9 @@ Test-Suite re-include-test -Werror Build-depends: - regex == 1.0.1.3 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , shelly >= 1.6.1.2 @@ -381,10 +381,10 @@ Executable re-nginx-log-processor -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , filepath >= 1.3.0.2 @@ -392,9 +392,9 @@ Executable re-nginx-log-processor , regex-tdfa == 1.2.* , shelly >= 1.6.1.2 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -415,10 +415,10 @@ Test-Suite re-nginx-log-processor-test -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , filepath >= 1.3.0.2 @@ -426,9 +426,9 @@ Test-Suite re-nginx-log-processor-test , regex-tdfa == 1.2.* , shelly >= 1.6.1.2 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -449,9 +449,9 @@ Executable re-prep -Werror Build-depends: - regex == 1.0.1.3 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , filepath >= 1.3.0.2 @@ -478,9 +478,9 @@ Test-Suite re-prep-test -Werror Build-depends: - regex == 1.0.1.3 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , filepath >= 1.3.0.2 @@ -507,9 +507,9 @@ Executable re-sort-imports -Werror Build-depends: - regex == 1.0.1.3 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , filepath >= 1.3.0.2 @@ -534,9 +534,9 @@ Test-Suite re-sort-imports-test -Werror Build-depends: - regex == 1.0.1.3 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , filepath >= 1.3.0.2 @@ -561,12 +561,12 @@ Executable re-tests -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , filepath >= 1.3.0.2 , heredoc >= 0.2.0.0 @@ -579,10 +579,10 @@ Executable re-tests , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* , unordered-containers == 0.2.* - , utf8-string >= 1 && < 1.1 + , utf8-string >= 1 Test-Suite re-tests-test @@ -602,12 +602,12 @@ Test-Suite re-tests-test -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , filepath >= 1.3.0.2 , heredoc >= 0.2.0.0 @@ -620,10 +620,10 @@ Test-Suite re-tests-test , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* , unordered-containers == 0.2.* - , utf8-string >= 1 && < 1.1 + , utf8-string >= 1 @@ -643,9 +643,9 @@ Executable re-top -Werror Build-depends: - regex == 1.0.1.3 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , base >= 4 && < 5 + , base-compat >= 0.6 , blaze-html >= 0.8.1.0 , bytestring == 0.10.* , data-default >= 0.5.3 @@ -653,9 +653,9 @@ Executable re-top , filepath >= 1.3.0.2 , shelly >= 1.6.1.2 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -676,9 +676,9 @@ Test-Suite re-top-test -Werror Build-depends: - regex == 1.0.1.3 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , base >= 4 && < 5 + , base-compat >= 0.6 , blaze-html >= 0.8.1.0 , bytestring == 0.10.* , data-default >= 0.5.3 @@ -686,9 +686,9 @@ Test-Suite re-top-test , filepath >= 1.3.0.2 , shelly >= 1.6.1.2 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -710,12 +710,12 @@ Executable re-tutorial -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -728,11 +728,11 @@ Executable re-tutorial , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -754,12 +754,12 @@ Test-Suite re-tutorial-test -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -772,11 +772,11 @@ Test-Suite re-tutorial-test , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -790,8 +790,8 @@ Test-Suite re-tutorial-os-test Other-Modules: TestKit - Extensions: OverloadedStrings Default-Extensions: QuasiQuotes + OverloadedStrings Default-Language: Haskell2010 GHC-Options: @@ -800,12 +800,12 @@ Test-Suite re-tutorial-os-test -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -818,11 +818,11 @@ Test-Suite re-tutorial-os-test , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -844,12 +844,12 @@ Executable re-tutorial-options -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -862,11 +862,11 @@ Executable re-tutorial-options , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -888,12 +888,12 @@ Test-Suite re-tutorial-options-test -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -906,11 +906,11 @@ Test-Suite re-tutorial-options-test , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -932,12 +932,12 @@ Executable re-tutorial-replacing -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -950,11 +950,11 @@ Executable re-tutorial-replacing , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -976,12 +976,12 @@ Test-Suite re-tutorial-replacing-test -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -994,11 +994,11 @@ Test-Suite re-tutorial-replacing-test , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -1020,12 +1020,12 @@ Executable re-tutorial-testbench -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -1038,11 +1038,11 @@ Executable re-tutorial-testbench , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -1064,12 +1064,12 @@ Test-Suite re-tutorial-testbench-test -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -1082,11 +1082,11 @@ Test-Suite re-tutorial-testbench-test , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -1108,12 +1108,12 @@ Executable re-tutorial-tools -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -1126,11 +1126,11 @@ Executable re-tutorial-tools , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -1153,12 +1153,12 @@ Test-Suite re-tutorial-tools-test -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -1171,11 +1171,11 @@ Test-Suite re-tutorial-tools-test , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* diff --git a/lib/regex-examples.cabal b/lib/regex-examples.cabal index 32d7ccc..7b2c8c5 100644 --- a/lib/regex-examples.cabal +++ b/lib/regex-examples.cabal @@ -1,5 +1,5 @@ Name: regex-examples -Version: 1.0.1.3 +Version: 1.0.1.4 Synopsis: Tutorial, tests and example programs for regex Description: Tutorial, tests and example programs for regex, a Regular Expression Toolkit for regex-base with @@ -20,7 +20,7 @@ Stability: Stable bug-reports: http://issues.regex.uk Extra-Source-Files: - README.markdown + README.md changelog data/2015-16-premierleague.txt data/access-errors.log @@ -68,7 +68,7 @@ Source-Repository head Source-Repository this Type: git Location: https://github.com/iconnect/regex.git - Tag: 1.0.1.3 + Tag: 1.0.1.4 Executable re-gen-cabals @@ -87,12 +87,12 @@ Executable re-gen-cabals -Wwarn Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , regex-base == 0.93.* , regex-tdfa == 1.2.* @@ -117,12 +117,12 @@ Test-Suite re-gen-cabals-test -Wwarn Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , regex-base == 0.93.* , regex-tdfa == 1.2.* @@ -147,10 +147,10 @@ Executable re-gen-modules -Wwarn Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , regex-base == 0.93.* @@ -176,10 +176,10 @@ Test-Suite re-gen-modules-test -Wwarn Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , regex-base == 0.93.* @@ -205,9 +205,9 @@ Executable re-include -Wwarn Build-depends: - regex == 1.0.1.3 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , shelly >= 1.6.1.2 @@ -231,9 +231,9 @@ Test-Suite re-include-test -Wwarn Build-depends: - regex == 1.0.1.3 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , shelly >= 1.6.1.2 @@ -257,11 +257,11 @@ Executable re-nginx-log-processor -Wwarn Build-depends: - regex == 1.0.1.3 - , regex-with-pcre == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , regex-with-pcre + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , filepath >= 1.3.0.2 @@ -269,9 +269,9 @@ Executable re-nginx-log-processor , regex-tdfa == 1.2.* , shelly >= 1.6.1.2 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -292,11 +292,11 @@ Test-Suite re-nginx-log-processor-test -Wwarn Build-depends: - regex == 1.0.1.3 - , regex-with-pcre == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , regex-with-pcre + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , filepath >= 1.3.0.2 @@ -304,9 +304,9 @@ Test-Suite re-nginx-log-processor-test , regex-tdfa == 1.2.* , shelly >= 1.6.1.2 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -327,9 +327,9 @@ Executable re-prep -Wwarn Build-depends: - regex == 1.0.1.3 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , filepath >= 1.3.0.2 @@ -356,9 +356,9 @@ Test-Suite re-prep-test -Wwarn Build-depends: - regex == 1.0.1.3 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , filepath >= 1.3.0.2 @@ -385,9 +385,9 @@ Executable re-sort-imports -Wwarn Build-depends: - regex == 1.0.1.3 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , filepath >= 1.3.0.2 @@ -412,9 +412,9 @@ Test-Suite re-sort-imports-test -Wwarn Build-depends: - regex == 1.0.1.3 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , filepath >= 1.3.0.2 @@ -439,13 +439,13 @@ Executable re-tests -Wwarn Build-depends: - regex == 1.0.1.3 - , regex-with-pcre == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , regex-with-pcre + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , filepath >= 1.3.0.2 , heredoc >= 0.2.0.0 @@ -458,10 +458,10 @@ Executable re-tests , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* , unordered-containers == 0.2.* - , utf8-string >= 1 && < 1.1 + , utf8-string >= 1 Test-Suite re-tests-test @@ -481,13 +481,13 @@ Test-Suite re-tests-test -Wwarn Build-depends: - regex == 1.0.1.3 - , regex-with-pcre == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , regex-with-pcre + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , filepath >= 1.3.0.2 , heredoc >= 0.2.0.0 @@ -500,10 +500,10 @@ Test-Suite re-tests-test , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* , unordered-containers == 0.2.* - , utf8-string >= 1 && < 1.1 + , utf8-string >= 1 @@ -523,9 +523,9 @@ Executable re-top -Wwarn Build-depends: - regex == 1.0.1.3 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , base >= 4 && < 5 + , base-compat >= 0.6 , blaze-html >= 0.8.1.0 , bytestring == 0.10.* , data-default >= 0.5.3 @@ -533,9 +533,9 @@ Executable re-top , filepath >= 1.3.0.2 , shelly >= 1.6.1.2 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -556,9 +556,9 @@ Test-Suite re-top-test -Wwarn Build-depends: - regex == 1.0.1.3 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , base >= 4 && < 5 + , base-compat >= 0.6 , blaze-html >= 0.8.1.0 , bytestring == 0.10.* , data-default >= 0.5.3 @@ -566,9 +566,9 @@ Test-Suite re-top-test , filepath >= 1.3.0.2 , shelly >= 1.6.1.2 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -590,12 +590,12 @@ Executable re-tutorial -Wwarn Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -608,11 +608,11 @@ Executable re-tutorial , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -634,12 +634,12 @@ Test-Suite re-tutorial-test -Wwarn Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -652,11 +652,11 @@ Test-Suite re-tutorial-test , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -670,8 +670,8 @@ Test-Suite re-tutorial-os-test Other-Modules: TestKit - Extensions: OverloadedStrings Default-Extensions: QuasiQuotes + OverloadedStrings Default-Language: Haskell2010 GHC-Options: @@ -680,12 +680,12 @@ Test-Suite re-tutorial-os-test -Wwarn Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -698,11 +698,11 @@ Test-Suite re-tutorial-os-test , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -724,13 +724,13 @@ Executable re-tutorial-options -Wwarn Build-depends: - regex == 1.0.1.3 - , regex-with-pcre == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , regex-with-pcre + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -743,11 +743,11 @@ Executable re-tutorial-options , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -769,13 +769,13 @@ Test-Suite re-tutorial-options-test -Wwarn Build-depends: - regex == 1.0.1.3 - , regex-with-pcre == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , regex-with-pcre + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -788,11 +788,11 @@ Test-Suite re-tutorial-options-test , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -814,12 +814,12 @@ Executable re-tutorial-replacing -Wwarn Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -832,11 +832,11 @@ Executable re-tutorial-replacing , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -858,12 +858,12 @@ Test-Suite re-tutorial-replacing-test -Wwarn Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -876,11 +876,11 @@ Test-Suite re-tutorial-replacing-test , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -902,12 +902,12 @@ Executable re-tutorial-testbench -Wwarn Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -920,11 +920,11 @@ Executable re-tutorial-testbench , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -946,12 +946,12 @@ Test-Suite re-tutorial-testbench-test -Wwarn Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -964,11 +964,11 @@ Test-Suite re-tutorial-testbench-test , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -990,12 +990,12 @@ Executable re-tutorial-tools -Wwarn Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -1008,11 +1008,11 @@ Executable re-tutorial-tools , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -1035,12 +1035,12 @@ Test-Suite re-tutorial-tools-test -Wwarn Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -1053,11 +1053,11 @@ Test-Suite re-tutorial-tools-test , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* diff --git a/lib/regex-with-pcre.cabal b/lib/regex-with-pcre.cabal index c6d402d..e146f27 100644 --- a/lib/regex-with-pcre.cabal +++ b/lib/regex-with-pcre.cabal @@ -1,5 +1,5 @@ Name: regex-with-pcre -Version: 1.0.1.3 +Version: 1.0.1.4 Synopsis: Toolkit for regex-base Description: A regular expression toolkit for regex-base with compile-time checking of RE syntax, data types for @@ -20,7 +20,7 @@ Stability: Stable bug-reports: http://issues.regex.uk Extra-Source-Files: - README.markdown + README.md changelog Cabal-Version: >= 1.10 @@ -32,7 +32,7 @@ Source-Repository head Source-Repository this Type: git Location: https://github.com/iconnect/regex.git - Tag: 1.0.1.3 + Tag: 1.0.1.4 @@ -94,18 +94,18 @@ Library -Wwarn Build-depends: - regex == 1.0.1.3 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , regex-base == 0.93.* , regex-pcre-builtin == 0.94.* , regex-pcre-text == 0.94.* , regex-tdfa == 1.2.* - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* diff --git a/lib/regex.cabal b/lib/regex.cabal index b2e158f..2f2e138 100644 --- a/lib/regex.cabal +++ b/lib/regex.cabal @@ -1,5 +1,5 @@ Name: regex -Version: 1.0.1.3 +Version: 1.0.1.4 Synopsis: Toolkit for regex-base Description: A regular expression toolkit for regex-base with compile-time checking of RE syntax, data types for @@ -20,7 +20,7 @@ Stability: Stable bug-reports: http://issues.regex.uk Extra-Source-Files: - README.markdown + README.md changelog Cabal-Version: >= 1.10 @@ -32,7 +32,7 @@ Source-Repository head Source-Repository this Type: git Location: https://github.com/iconnect/regex.git - Tag: 1.0.1.3 + Tag: 1.0.1.4 @@ -123,23 +123,23 @@ Library -Wwarn Build-depends: - array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , hashable == 1.2.* , regex-base == 0.93.* , regex-pcre-builtin == 0.94.* , regex-tdfa == 1.2.* , regex-tdfa-text == 1.0.* - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* - , utf8-string >= 1 && < 1.1 + , utf8-string >= 1 -- Generated with re-gen-cabals diff --git a/lib/version.txt b/lib/version.txt index 3287e9b..f74f0cb 100644 --- a/lib/version.txt +++ b/lib/version.txt @@ -1 +1 @@ -1.0.1.3 \ No newline at end of file +1.0.1.4 \ No newline at end of file diff --git a/regex.cabal b/regex.cabal index 14be4b6..a0caeb3 100644 --- a/regex.cabal +++ b/regex.cabal @@ -1,5 +1,5 @@ Name: regex -Version: 1.0.1.3 +Version: 1.0.1.4 Synopsis: Toolkit for regex-base Description: A regular expression toolkit for regex-base with compile-time checking of RE syntax, data types for @@ -20,7 +20,7 @@ Stability: Stable bug-reports: http://issues.regex.uk Extra-Source-Files: - README.markdown + README.md changelog data/2015-16-premierleague.txt data/access-errors.log @@ -68,7 +68,7 @@ Source-Repository head Source-Repository this Type: git Location: https://github.com/iconnect/regex.git - Tag: 1.0.1.3 + Tag: 1.0.1.4 @@ -175,24 +175,24 @@ Library -Werror Build-depends: - array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , hashable == 1.2.* , regex-base == 0.93.* , regex-pcre-builtin == 0.94.* , regex-pcre-text == 0.94.* , regex-tdfa == 1.2.* , regex-tdfa-text == 1.0.* - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* - , utf8-string >= 1 && < 1.1 + , utf8-string >= 1 Executable re-gen-cabals @@ -211,12 +211,12 @@ Executable re-gen-cabals -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , regex-base == 0.93.* , regex-tdfa == 1.2.* @@ -241,12 +241,12 @@ Test-Suite re-gen-cabals-test -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , regex-base == 0.93.* , regex-tdfa == 1.2.* @@ -271,10 +271,10 @@ Executable re-gen-modules -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , regex-base == 0.93.* @@ -300,10 +300,10 @@ Test-Suite re-gen-modules-test -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , regex-base == 0.93.* @@ -329,9 +329,9 @@ Executable re-include -Werror Build-depends: - regex == 1.0.1.3 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , shelly >= 1.6.1.2 @@ -355,9 +355,9 @@ Test-Suite re-include-test -Werror Build-depends: - regex == 1.0.1.3 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , shelly >= 1.6.1.2 @@ -381,10 +381,10 @@ Executable re-nginx-log-processor -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , filepath >= 1.3.0.2 @@ -392,9 +392,9 @@ Executable re-nginx-log-processor , regex-tdfa == 1.2.* , shelly >= 1.6.1.2 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -415,10 +415,10 @@ Test-Suite re-nginx-log-processor-test -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , filepath >= 1.3.0.2 @@ -426,9 +426,9 @@ Test-Suite re-nginx-log-processor-test , regex-tdfa == 1.2.* , shelly >= 1.6.1.2 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -449,9 +449,9 @@ Executable re-prep -Werror Build-depends: - regex == 1.0.1.3 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , filepath >= 1.3.0.2 @@ -478,9 +478,9 @@ Test-Suite re-prep-test -Werror Build-depends: - regex == 1.0.1.3 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , filepath >= 1.3.0.2 @@ -507,9 +507,9 @@ Executable re-sort-imports -Werror Build-depends: - regex == 1.0.1.3 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , filepath >= 1.3.0.2 @@ -534,9 +534,9 @@ Test-Suite re-sort-imports-test -Werror Build-depends: - regex == 1.0.1.3 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* , directory >= 1.2.1.0 , filepath >= 1.3.0.2 @@ -561,12 +561,12 @@ Executable re-tests -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , filepath >= 1.3.0.2 , heredoc >= 0.2.0.0 @@ -579,10 +579,10 @@ Executable re-tests , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* , unordered-containers == 0.2.* - , utf8-string >= 1 && < 1.1 + , utf8-string >= 1 Test-Suite re-tests-test @@ -602,12 +602,12 @@ Test-Suite re-tests-test -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , filepath >= 1.3.0.2 , heredoc >= 0.2.0.0 @@ -620,10 +620,10 @@ Test-Suite re-tests-test , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* , unordered-containers == 0.2.* - , utf8-string >= 1 && < 1.1 + , utf8-string >= 1 @@ -643,9 +643,9 @@ Executable re-top -Werror Build-depends: - regex == 1.0.1.3 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , base >= 4 && < 5 + , base-compat >= 0.6 , blaze-html >= 0.8.1.0 , bytestring == 0.10.* , data-default >= 0.5.3 @@ -653,9 +653,9 @@ Executable re-top , filepath >= 1.3.0.2 , shelly >= 1.6.1.2 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -676,9 +676,9 @@ Test-Suite re-top-test -Werror Build-depends: - regex == 1.0.1.3 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , base >= 4 && < 5 + , base-compat >= 0.6 , blaze-html >= 0.8.1.0 , bytestring == 0.10.* , data-default >= 0.5.3 @@ -686,9 +686,9 @@ Test-Suite re-top-test , filepath >= 1.3.0.2 , shelly >= 1.6.1.2 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -710,12 +710,12 @@ Executable re-tutorial -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -728,11 +728,11 @@ Executable re-tutorial , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -754,12 +754,12 @@ Test-Suite re-tutorial-test -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -772,11 +772,11 @@ Test-Suite re-tutorial-test , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -790,8 +790,8 @@ Test-Suite re-tutorial-os-test Other-Modules: TestKit - Extensions: OverloadedStrings Default-Extensions: QuasiQuotes + OverloadedStrings Default-Language: Haskell2010 GHC-Options: @@ -800,12 +800,12 @@ Test-Suite re-tutorial-os-test -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -818,11 +818,11 @@ Test-Suite re-tutorial-os-test , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -844,12 +844,12 @@ Executable re-tutorial-options -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -862,11 +862,11 @@ Executable re-tutorial-options , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -888,12 +888,12 @@ Test-Suite re-tutorial-options-test -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -906,11 +906,11 @@ Test-Suite re-tutorial-options-test , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -932,12 +932,12 @@ Executable re-tutorial-replacing -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -950,11 +950,11 @@ Executable re-tutorial-replacing , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -976,12 +976,12 @@ Test-Suite re-tutorial-replacing-test -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -994,11 +994,11 @@ Test-Suite re-tutorial-replacing-test , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -1020,12 +1020,12 @@ Executable re-tutorial-testbench -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -1038,11 +1038,11 @@ Executable re-tutorial-testbench , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -1064,12 +1064,12 @@ Test-Suite re-tutorial-testbench-test -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -1082,11 +1082,11 @@ Test-Suite re-tutorial-testbench-test , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -1108,12 +1108,12 @@ Executable re-tutorial-tools -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -1126,11 +1126,11 @@ Executable re-tutorial-tools , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* @@ -1153,12 +1153,12 @@ Test-Suite re-tutorial-tools-test -Werror Build-depends: - regex == 1.0.1.3 - , array >= 0.4 && < 0.6 - , base >= 4 && < 5 - , base-compat >= 0.6 && < 0.10 + regex + , array >= 0.4 + , base >= 4 && < 5 + , base-compat >= 0.6 , bytestring == 0.10.* - , containers >= 0.4 && < 0.6 + , containers >= 0.4 , directory >= 1.2.1.0 , hashable == 1.2.* , heredoc >= 0.2.0.0 @@ -1171,11 +1171,11 @@ Test-Suite re-tutorial-tools-test , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , tasty-smallcheck >= 0.8.0.1 - , template-haskell >= 2.7 && < 2.12 + , template-haskell >= 2.7 , text == 1.2.* - , time >= 1.4.2 && < 1.9 + , time >= 1.4.2 , time-locale-compat == 0.1.* - , transformers >= 0.2.2 && < 0.6 + , transformers >= 0.2.2 , unordered-containers == 0.2.* diff --git a/releases/regex-1.0.1.4.tar.gz b/releases/regex-1.0.1.4.tar.gz new file mode 100644 index 0000000..5ae9925 Binary files /dev/null and b/releases/regex-1.0.1.4.tar.gz differ diff --git a/releases/regex-examples-1.0.1.4.tar.gz b/releases/regex-examples-1.0.1.4.tar.gz new file mode 100644 index 0000000..07bd110 Binary files /dev/null and b/releases/regex-examples-1.0.1.4.tar.gz differ diff --git a/releases/regex-with-pcre-1.0.1.4.tar.gz b/releases/regex-with-pcre-1.0.1.4.tar.gz new file mode 100644 index 0000000..1412620 Binary files /dev/null and b/releases/regex-with-pcre-1.0.1.4.tar.gz differ diff --git a/stack-7.8.yaml b/stack-8.2.yaml similarity index 68% rename from stack-7.8.yaml rename to stack-8.2.yaml index 6f75b43..cb5b18d 100644 --- a/stack-7.8.yaml +++ b/stack-8.2.yaml @@ -1,4 +1,4 @@ -resolver: lts-2.22 +resolver: lts-11.22 install-ghc: true flags: {} packages: @@ -6,4 +6,3 @@ packages: system-ghc: false extra-deps: - regex-pcre-text-0.94.0.0 - - regex-tdfa-text-1.0.0.3 diff --git a/stack-8.4.yaml b/stack-8.4.yaml new file mode 100644 index 0000000..75ccae4 --- /dev/null +++ b/stack-8.4.yaml @@ -0,0 +1,8 @@ +resolver: lts-12.22 +install-ghc: true +flags: {} +packages: +- '.' +system-ghc: false +extra-deps: + - shelly-1.8.0 # 1.8.1 is broken for windows: see https://github.com/yesodweb/Shelly.hs/issues/176 diff --git a/stack-8.6.yaml b/stack-8.6.yaml new file mode 100644 index 0000000..582a810 --- /dev/null +++ b/stack-8.6.yaml @@ -0,0 +1,8 @@ +resolver: nightly-2018-12-14 +install-ghc: true +flags: {} +packages: +- '.' +system-ghc: false +extra-deps: + - shelly-1.8.0 # 1.8.1 is broken for windows: see https://github.com/yesodweb/Shelly.hs/issues/176 diff --git a/stack-nightly.yaml b/stack-nightly.yaml index f5e5d95..b74e981 100644 --- a/stack-nightly.yaml +++ b/stack-nightly.yaml @@ -1,8 +1,7 @@ -resolver: nightly-2017-06-02 +resolver: nightly-2018-12-14 install-ghc: true flags: {} packages: - '.' system-ghc: false extra-deps: - - regex-pcre-text-0.94.0.0