packages feed

regex-with-pcre 0.10.0.2 → 0.10.0.3

raw patch · 5 files changed

+46/−6 lines, 5 filesdep ~regexPVP: minor bump suggested

API additions: PVP suggests at least a minor version bump

Dependency ranges changed: regex

API changes (from Hackage documentation)

+ Text.RE.PCRE: escapeREString :: String -> String

Files

README.markdown view
@@ -66,6 +66,8 @@      ☒  2017-03-27  v0.10.0.2 [Tweak Templates, Fix release scripts and update Haddocks commentary](https://github.com/iconnect/regex/milestone/12) +    ☒  2017-03-28  v0.10.0.3 [Upgrade to LTS 8.6 and Improve Haddocks for Text.RE.{TDFA,PCRE}](https://github.com/iconnect/regex/milestone/13)+     ☐  2017-03-31  v1.0.0.0  [First stable release](https://github.com/iconnect/regex/milestone/3)      ☐  2017-08-31  v2.0.0.0  [Fast text replacement with benchmarks](https://github.com/iconnect/regex/milestone/4)
Text/RE/PCRE.hs view
@@ -10,7 +10,10 @@   (   -- * Tutorial   -- $tutorial-  --++  -- * About this Module+  -- $about+   -- * The Match Operators     (*=~)   , (?=~)@@ -40,6 +43,7 @@   , compileRegexWith   , escape   , escapeWith+  , escapeREString   , module Text.RE.PCRE.RE   -- * The [ed| ... |] quasi quoters   , module Text.RE.Internal.SearchReplace.PCRE@@ -68,7 +72,10 @@ import           Text.RE.Types.REOptions  --- | find all matches in text+-- | find all matches in text; e.g., to count the number of naturals in s:+--+--   @countMatches $ s *=~ [re|[0-9]+|]@+-- (*=~) :: IsRegex RE s       => s       -> RE@@ -111,6 +118,19 @@  -- $tutorial -- We have a regex tutorial at <http://tutorial.regex.uk>.++-- $about+-- This module provides access to the back end through polymorphic functions+-- that operate over all of the String/Text/ByteString types supported by the+-- PCRE back end. If you don't need this generality you might find it easier+-- to work with one of the modules that have been specialised for each of these+-- types:+--+-- * "Text.RE.PCRE.ByteString"+-- * "Text.RE.PCRE.ByteString.Lazy"+-- * "Text.RE.PCRE.RE"+-- * "Text.RE.PCRE.Sequence"+-- * "Text.RE.PCRE.String"  -- $instances --
Text/RE/PCRE/RE.hs view
@@ -15,7 +15,10 @@ {-# OPTIONS_GHC -fno-warn-orphans       #-}  module Text.RE.PCRE.RE-  ( -- * RE Type+  ( -- * About+    -- $about++    -- * RE Type     RE   , regexType   , reOptions@@ -396,3 +399,14 @@  def_exec_option :: ExecOption def_exec_option = optionsExec defaultREOptions+++------------------------------------------------------------------------+-- Haddock Sections+------------------------------------------------------------------------++-- $about+--+-- This module provides the regex PCRE back end. Most of the functions that+-- you will need for day to day use are provided by the primary API modules+-- (e.g., "Text.RE.PCRE.ByteString").
changelog view
@@ -1,5 +1,9 @@ -*-change-log-*- +0.10.0.3 Chris Dornan <chris.dornan@irisconnect.co.uk> 2017-03-28+  * Update to LTS-8.6 (#95)+  * Improve Haddocks for Text.RE.{TDFA,PCRE} (#94)+ 0.10.0.2 Chris Dornan <chris.dornan@irisconnect.co.uk> 2017-03-27   * Constrain the types of the template quasi quoters (#86)   * Add escape methods to IsRegex (#87)
regex-with-pcre.cabal view
@@ -1,5 +1,5 @@ Name:                   regex-with-pcre-Version:                0.10.0.2+Version:                0.10.0.3 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.10.0.2+    Tag:                0.10.0.3   @@ -89,7 +89,7 @@       -Wwarn      Build-depends:-        regex                == 0.10.0.2+        regex                == 0.10.0.3       , base                 >= 4 && < 5       , base-compat          >= 0.6.0       , bytestring           >= 0.10.2.0