regex-with-pcre 0.7.0.0 → 0.8.0.0
raw patch · 7 files changed
+65/−33 lines, 7 filesdep ~regexPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: regex
API changes (from Hackage documentation)
+ Text.RE.PCRE.ByteString: compileRegex :: (Functor m, Monad m) => String -> m RE
+ Text.RE.PCRE.ByteString: compileRegexWith :: (Functor m, Monad m) => SimpleRegexOptions -> String -> m RE
+ Text.RE.PCRE.ByteString: data RE
+ Text.RE.PCRE.ByteString: escape :: (String -> String) -> String -> RE
+ Text.RE.PCRE.ByteString: reSource :: RE -> String
+ Text.RE.PCRE.ByteString.Lazy: compileRegex :: (Functor m, Monad m) => String -> m RE
+ Text.RE.PCRE.ByteString.Lazy: compileRegexWith :: (Functor m, Monad m) => SimpleRegexOptions -> String -> m RE
+ Text.RE.PCRE.ByteString.Lazy: data RE
+ Text.RE.PCRE.ByteString.Lazy: escape :: (String -> String) -> String -> RE
+ Text.RE.PCRE.ByteString.Lazy: reSource :: RE -> String
+ Text.RE.PCRE.Sequence: compileRegex :: (Functor m, Monad m) => String -> m RE
+ Text.RE.PCRE.Sequence: compileRegexWith :: (Functor m, Monad m) => SimpleRegexOptions -> String -> m RE
+ Text.RE.PCRE.Sequence: data RE
+ Text.RE.PCRE.Sequence: escape :: (String -> String) -> String -> RE
+ Text.RE.PCRE.Sequence: reSource :: RE -> String
+ Text.RE.PCRE.String: compileRegex :: (Functor m, Monad m) => String -> m RE
+ Text.RE.PCRE.String: compileRegexWith :: (Functor m, Monad m) => SimpleRegexOptions -> String -> m RE
+ Text.RE.PCRE.String: data RE
+ Text.RE.PCRE.String: escape :: (String -> String) -> String -> RE
+ Text.RE.PCRE.String: reSource :: RE -> String
Files
- README.markdown +7/−2
- Text/RE/PCRE/ByteString.hs +13/−7
- Text/RE/PCRE/ByteString/Lazy.hs +13/−7
- Text/RE/PCRE/Sequence.hs +13/−7
- Text/RE/PCRE/String.hs +13/−7
- changelog +3/−0
- regex-with-pcre.cabal +3/−3
README.markdown view
@@ -24,7 +24,10 @@ The library and tutorial, tests and examples have been split across two packages: - * the `regex` package contains the regex library and+ * the `regex` package contains the regex library with the Posix TDFA+ back end+ * the `regex-with-pcre` library package contains the extra modules+ needed for the PCRE back end * the `regex-examples` package contains the tutorial, tests and example programs. @@ -57,7 +60,9 @@ ☒ 2017-03-15 v0.7.0.0 [Better organization of API](https://github.com/iconnect/regex/milestone/8) - ☐ 2017-03-17 v0.8.0.0 [Add type-safe replacement templates and use TemplateHaskellQuotes](https://github.com/iconnect/regex/milestone/9)+ ☒ 2017-03-16 v0.8.0.0 [Tidy up the API](https://github.com/iconnect/regex/milestone/10)++ ☐ 2017-03-18 v0.9.0.0 [Add type-safe replacement templates and use TemplateHaskellQuotes](https://github.com/iconnect/regex/milestone/9) ☐ 2017-03-31 v1.0.0.0 [First stable release](https://github.com/iconnect/regex/milestone/3)
Text/RE/PCRE/ByteString.hs view
@@ -1,9 +1,10 @@-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE MultiParamTypeClasses #-}-{-# LANGUAGE FlexibleContexts #-}-{-# LANGUAGE FlexibleInstances #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}-{-# LANGUAGE CPP #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# LANGUAGE MultiParamTypeClasses #-}+{-# LANGUAGE FlexibleContexts #-}+{-# LANGUAGE FlexibleInstances #-}+{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# LANGUAGE CPP #-} #if __GLASGOW_HASKELL__ >= 800 {-# OPTIONS_GHC -fno-warn-redundant-constraints #-} #endif@@ -21,8 +22,13 @@ -- * The Toolkit -- $toolkit , module Text.RE- -- * The 'RE' Type+ -- * The 'RE' Type and functions -- $re+ , RE+ , reSource+ , compileRegex+ , compileRegexWith+ , escape , module Text.RE.PCRE.RE ) where
Text/RE/PCRE/ByteString/Lazy.hs view
@@ -1,9 +1,10 @@-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE MultiParamTypeClasses #-}-{-# LANGUAGE FlexibleContexts #-}-{-# LANGUAGE FlexibleInstances #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}-{-# LANGUAGE CPP #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# LANGUAGE MultiParamTypeClasses #-}+{-# LANGUAGE FlexibleContexts #-}+{-# LANGUAGE FlexibleInstances #-}+{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# LANGUAGE CPP #-} #if __GLASGOW_HASKELL__ >= 800 {-# OPTIONS_GHC -fno-warn-redundant-constraints #-} #endif@@ -21,8 +22,13 @@ -- * The Toolkit -- $toolkit , module Text.RE- -- * The 'RE' Type+ -- * The 'RE' Type and functions -- $re+ , RE+ , reSource+ , compileRegex+ , compileRegexWith+ , escape , module Text.RE.PCRE.RE ) where
Text/RE/PCRE/Sequence.hs view
@@ -1,9 +1,10 @@-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE MultiParamTypeClasses #-}-{-# LANGUAGE FlexibleContexts #-}-{-# LANGUAGE FlexibleInstances #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}-{-# LANGUAGE CPP #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# LANGUAGE MultiParamTypeClasses #-}+{-# LANGUAGE FlexibleContexts #-}+{-# LANGUAGE FlexibleInstances #-}+{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# LANGUAGE CPP #-} #if __GLASGOW_HASKELL__ >= 800 {-# OPTIONS_GHC -fno-warn-redundant-constraints #-} #endif@@ -21,8 +22,13 @@ -- * The Toolkit -- $toolkit , module Text.RE- -- * The 'RE' Type+ -- * The 'RE' Type and functions -- $re+ , RE+ , reSource+ , compileRegex+ , compileRegexWith+ , escape , module Text.RE.PCRE.RE ) where
Text/RE/PCRE/String.hs view
@@ -1,9 +1,10 @@-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE MultiParamTypeClasses #-}-{-# LANGUAGE FlexibleContexts #-}-{-# LANGUAGE FlexibleInstances #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}-{-# LANGUAGE CPP #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# LANGUAGE MultiParamTypeClasses #-}+{-# LANGUAGE FlexibleContexts #-}+{-# LANGUAGE FlexibleInstances #-}+{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# LANGUAGE CPP #-} #if __GLASGOW_HASKELL__ >= 800 {-# OPTIONS_GHC -fno-warn-redundant-constraints #-} #endif@@ -21,8 +22,13 @@ -- * The Toolkit -- $toolkit , module Text.RE- -- * The 'RE' Type+ -- * The 'RE' Type and functions -- $re+ , RE+ , reSource+ , compileRegex+ , compileRegexWith+ , escape , module Text.RE.PCRE.RE ) where
changelog view
@@ -1,5 +1,8 @@ -*-change-log-*- +0.8.0.0 Chris Dornan <chris.dornan@irisconnect.co.uk> 2017-03-16+ * Tidy up the API after recent reorganization (#76)+ 0.7.0.0 Chris Dornan <chris.dornan@irisconnect.co.uk> 2017-03-15 * Fix and extend Replace class (#74) * Better package organisation (#73)
regex-with-pcre.cabal view
@@ -1,5 +1,5 @@ Name: regex-with-pcre-Version: 0.7.0.0+Version: 0.8.0.0 Synopsis: Toolkit for regex-base Description: A Regular Expression Toolkit for regex-base with Compile-time checking of RE syntax, data types for@@ -31,7 +31,7 @@ Source-Repository this Type: git Location: https://github.com/iconnect/regex.git- Tag: 0.7.0.0+ Tag: 0.8.0.0 @@ -52,7 +52,7 @@ -Wwarn Build-depends:- regex == 0.7.0.0+ regex == 0.8.0.0 , base >= 4 && < 5 , base-compat >= 0.6.0 , bytestring >= 0.10.2.0