regex-with-pcre 1.1.0.1 → 1.1.0.2
raw patch · 17 files changed
+51/−48 lines, 17 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Text/RE/PCRE.hs +6/−6
- Text/RE/PCRE/ByteString.hs +5/−5
- Text/RE/PCRE/ByteString/Lazy.hs +5/−5
- Text/RE/PCRE/Sequence.hs +5/−5
- Text/RE/PCRE/String.hs +5/−5
- Text/RE/PCRE/Text.hs +5/−5
- Text/RE/PCRE/Text/Lazy.hs +5/−5
- Text/RE/ZeInternals/PCRE.hs +2/−2
- Text/RE/ZeInternals/SearchReplace/PCRE/ByteString.hs +1/−1
- Text/RE/ZeInternals/SearchReplace/PCRE/ByteString/Lazy.hs +1/−1
- Text/RE/ZeInternals/SearchReplace/PCRE/Sequence.hs +1/−1
- Text/RE/ZeInternals/SearchReplace/PCRE/String.hs +1/−1
- Text/RE/ZeInternals/SearchReplace/PCRE/Text.hs +1/−1
- Text/RE/ZeInternals/SearchReplace/PCRE/Text/Lazy.hs +1/−1
- Text/RE/ZeInternals/TDFA.hs +2/−2
- changelog +3/−0
- regex-with-pcre.cabal +2/−2
Text/RE/PCRE.hs view
@@ -194,7 +194,7 @@ -- This module provides access to the back end through polymorphic functions -- that operate over all of the String\/Text\/ByteString types supported by the -- back end. The module also provides all of the specialised back-end functionality--- that will not be needed by most regex clientts. If you don't need this generality+-- that will not be needed by most regex clients. If you don't need this generality -- then you might want to consider using one of the simpler modules that have been -- specialised for each of these types: --@@ -221,7 +221,7 @@ -- options dynamically, use the @[re_| ... |]@ and @[ed_| ... \/\/\/ ... |]@ -- quasi quoters, which generate functions that take an 'IsOption' option -- (e.g., a 'SimpleReOptions' value) and yields a 'RE' or 'SearchReplace'--- as apropriate. For example if you have a 'SimpleReOptions' value in+-- as appropriate. For example if you have a 'SimpleReOptions' value in -- @sro@ then -- -- @(?=~/ [ed_|foo$\/\/\/bar|] sro)@@@ -230,7 +230,7 @@ -- on specifying RE options see "Text.RE.REOptions". -- $re--- The @[re|.*|]@ quasi quoters, with variants for specifing different+-- The @[re|.*|]@ quasi quoters, with variants for specifying different -- options to the RE compiler (see "Text.RE.REOptions"), and the -- specialised back-end types and functions. @@ -242,13 +242,13 @@ -- represents a @SearchReplace@ that will convert a YYYY-MM-DD format date -- into a DD\/MM\/YYYY format date. ----- The only difference betweem these quasi quoters is the RE options that are set,+-- The only difference between these quasi quoters is the RE options that are set, -- using the same conventions as the @[re| ... |]@ quasi quoters. -- -- $isregex--- The 'IsRegex' class is used to abstact over the different regex back ends and+-- The 'IsRegex' class is used to abstract over the different regex back ends and -- the text types they work with -- see "Text.RE.Tools.IsRegex" for details. -- $instances--- These module exportss merely provide the 'IsRegex' instances.+-- These module exports merely provide the 'IsRegex' instances.
Text/RE/PCRE/ByteString.hs view
@@ -186,7 +186,7 @@ -- options dynamically, use the @[re_| ... |]@ and @[ed_| ... \/\/\/ ... |]@ -- quasi quoters, which generate functions that take an 'IsOption' option -- (e.g., a 'SimpleReOptions' value) and yields a 'RE' or 'SearchReplace'--- as apropriate. For example if you have a 'SimpleReOptions' value in+-- as appropriate. For example if you have a 'SimpleReOptions' value in -- @sro@ then -- -- @(?=~/ [ed_|foo$\/\/\/bar|] sro)@@@ -195,12 +195,12 @@ -- on specifying RE options see "Text.RE.REOptions". -- $re--- The @[re|.*|]@ quasi quoters, with variants for specifing different+-- The @[re|.*|]@ quasi quoters, with variants for specifying different -- options to the RE compiler (see "Text.RE.REOptions"), and the -- specialised back-end types and functions. -- $ed--- The @[ed|.*\/\/\/foo|]@ quasi quoters, with variants for specifing different+-- The @[ed|.*\/\/\/foo|]@ quasi quoters, with variants for specifying different -- options to the RE compiler (see "Text.RE.REOptions"). -- $ed@@ -211,9 +211,9 @@ -- represents a @SearchReplace@ that will convert a YYYY-MM-DD format date -- into a DD\/MM\/YYYY format date. ----- The only difference betweem these quasi quoters is the RE options that are set,+-- The only difference between these quasi quoters is the RE options that are set, -- using the same conventions as the @[re| ... |]@ quasi quoters. -- $isregex--- The 'IsRegex' class is used to abstact over the different regex back ends and+-- The 'IsRegex' class is used to abstract over the different regex back ends and -- the text types they work with -- see "Text.RE.Tools.IsRegex" for details.
Text/RE/PCRE/ByteString/Lazy.hs view
@@ -186,7 +186,7 @@ -- options dynamically, use the @[re_| ... |]@ and @[ed_| ... \/\/\/ ... |]@ -- quasi quoters, which generate functions that take an 'IsOption' option -- (e.g., a 'SimpleReOptions' value) and yields a 'RE' or 'SearchReplace'--- as apropriate. For example if you have a 'SimpleReOptions' value in+-- as appropriate. For example if you have a 'SimpleReOptions' value in -- @sro@ then -- -- @(?=~/ [ed_|foo$\/\/\/bar|] sro)@@@ -195,12 +195,12 @@ -- on specifying RE options see "Text.RE.REOptions". -- $re--- The @[re|.*|]@ quasi quoters, with variants for specifing different+-- The @[re|.*|]@ quasi quoters, with variants for specifying different -- options to the RE compiler (see "Text.RE.REOptions"), and the -- specialised back-end types and functions. -- $ed--- The @[ed|.*\/\/\/foo|]@ quasi quoters, with variants for specifing different+-- The @[ed|.*\/\/\/foo|]@ quasi quoters, with variants for specifying different -- options to the RE compiler (see "Text.RE.REOptions"). -- $ed@@ -211,9 +211,9 @@ -- represents a @SearchReplace@ that will convert a YYYY-MM-DD format date -- into a DD\/MM\/YYYY format date. ----- The only difference betweem these quasi quoters is the RE options that are set,+-- The only difference between these quasi quoters is the RE options that are set, -- using the same conventions as the @[re| ... |]@ quasi quoters. -- $isregex--- The 'IsRegex' class is used to abstact over the different regex back ends and+-- The 'IsRegex' class is used to abstract over the different regex back ends and -- the text types they work with -- see "Text.RE.Tools.IsRegex" for details.
Text/RE/PCRE/Sequence.hs view
@@ -186,7 +186,7 @@ -- options dynamically, use the @[re_| ... |]@ and @[ed_| ... \/\/\/ ... |]@ -- quasi quoters, which generate functions that take an 'IsOption' option -- (e.g., a 'SimpleReOptions' value) and yields a 'RE' or 'SearchReplace'--- as apropriate. For example if you have a 'SimpleReOptions' value in+-- as appropriate. For example if you have a 'SimpleReOptions' value in -- @sro@ then -- -- @(?=~/ [ed_|foo$\/\/\/bar|] sro)@@@ -195,12 +195,12 @@ -- on specifying RE options see "Text.RE.REOptions". -- $re--- The @[re|.*|]@ quasi quoters, with variants for specifing different+-- The @[re|.*|]@ quasi quoters, with variants for specifying different -- options to the RE compiler (see "Text.RE.REOptions"), and the -- specialised back-end types and functions. -- $ed--- The @[ed|.*\/\/\/foo|]@ quasi quoters, with variants for specifing different+-- The @[ed|.*\/\/\/foo|]@ quasi quoters, with variants for specifying different -- options to the RE compiler (see "Text.RE.REOptions"). -- $ed@@ -211,9 +211,9 @@ -- represents a @SearchReplace@ that will convert a YYYY-MM-DD format date -- into a DD\/MM\/YYYY format date. ----- The only difference betweem these quasi quoters is the RE options that are set,+-- The only difference between these quasi quoters is the RE options that are set, -- using the same conventions as the @[re| ... |]@ quasi quoters. -- $isregex--- The 'IsRegex' class is used to abstact over the different regex back ends and+-- The 'IsRegex' class is used to abstract over the different regex back ends and -- the text types they work with -- see "Text.RE.Tools.IsRegex" for details.
Text/RE/PCRE/String.hs view
@@ -186,7 +186,7 @@ -- options dynamically, use the @[re_| ... |]@ and @[ed_| ... \/\/\/ ... |]@ -- quasi quoters, which generate functions that take an 'IsOption' option -- (e.g., a 'SimpleReOptions' value) and yields a 'RE' or 'SearchReplace'--- as apropriate. For example if you have a 'SimpleReOptions' value in+-- as appropriate. For example if you have a 'SimpleReOptions' value in -- @sro@ then -- -- @(?=~/ [ed_|foo$\/\/\/bar|] sro)@@@ -195,12 +195,12 @@ -- on specifying RE options see "Text.RE.REOptions". -- $re--- The @[re|.*|]@ quasi quoters, with variants for specifing different+-- The @[re|.*|]@ quasi quoters, with variants for specifying different -- options to the RE compiler (see "Text.RE.REOptions"), and the -- specialised back-end types and functions. -- $ed--- The @[ed|.*\/\/\/foo|]@ quasi quoters, with variants for specifing different+-- The @[ed|.*\/\/\/foo|]@ quasi quoters, with variants for specifying different -- options to the RE compiler (see "Text.RE.REOptions"). -- $ed@@ -211,9 +211,9 @@ -- represents a @SearchReplace@ that will convert a YYYY-MM-DD format date -- into a DD\/MM\/YYYY format date. ----- The only difference betweem these quasi quoters is the RE options that are set,+-- The only difference between these quasi quoters is the RE options that are set, -- using the same conventions as the @[re| ... |]@ quasi quoters. -- $isregex--- The 'IsRegex' class is used to abstact over the different regex back ends and+-- The 'IsRegex' class is used to abstract over the different regex back ends and -- the text types they work with -- see "Text.RE.Tools.IsRegex" for details.
Text/RE/PCRE/Text.hs view
@@ -186,7 +186,7 @@ -- options dynamically, use the @[re_| ... |]@ and @[ed_| ... \/\/\/ ... |]@ -- quasi quoters, which generate functions that take an 'IsOption' option -- (e.g., a 'SimpleReOptions' value) and yields a 'RE' or 'SearchReplace'--- as apropriate. For example if you have a 'SimpleReOptions' value in+-- as appropriate. For example if you have a 'SimpleReOptions' value in -- @sro@ then -- -- @(?=~/ [ed_|foo$\/\/\/bar|] sro)@@@ -195,12 +195,12 @@ -- on specifying RE options see "Text.RE.REOptions". -- $re--- The @[re|.*|]@ quasi quoters, with variants for specifing different+-- The @[re|.*|]@ quasi quoters, with variants for specifying different -- options to the RE compiler (see "Text.RE.REOptions"), and the -- specialised back-end types and functions. -- $ed--- The @[ed|.*\/\/\/foo|]@ quasi quoters, with variants for specifing different+-- The @[ed|.*\/\/\/foo|]@ quasi quoters, with variants for specifying different -- options to the RE compiler (see "Text.RE.REOptions"). -- $ed@@ -211,9 +211,9 @@ -- represents a @SearchReplace@ that will convert a YYYY-MM-DD format date -- into a DD\/MM\/YYYY format date. ----- The only difference betweem these quasi quoters is the RE options that are set,+-- The only difference between these quasi quoters is the RE options that are set, -- using the same conventions as the @[re| ... |]@ quasi quoters. -- $isregex--- The 'IsRegex' class is used to abstact over the different regex back ends and+-- The 'IsRegex' class is used to abstract over the different regex back ends and -- the text types they work with -- see "Text.RE.Tools.IsRegex" for details.
Text/RE/PCRE/Text/Lazy.hs view
@@ -186,7 +186,7 @@ -- options dynamically, use the @[re_| ... |]@ and @[ed_| ... \/\/\/ ... |]@ -- quasi quoters, which generate functions that take an 'IsOption' option -- (e.g., a 'SimpleReOptions' value) and yields a 'RE' or 'SearchReplace'--- as apropriate. For example if you have a 'SimpleReOptions' value in+-- as appropriate. For example if you have a 'SimpleReOptions' value in -- @sro@ then -- -- @(?=~/ [ed_|foo$\/\/\/bar|] sro)@@@ -195,12 +195,12 @@ -- on specifying RE options see "Text.RE.REOptions". -- $re--- The @[re|.*|]@ quasi quoters, with variants for specifing different+-- The @[re|.*|]@ quasi quoters, with variants for specifying different -- options to the RE compiler (see "Text.RE.REOptions"), and the -- specialised back-end types and functions. -- $ed--- The @[ed|.*\/\/\/foo|]@ quasi quoters, with variants for specifing different+-- The @[ed|.*\/\/\/foo|]@ quasi quoters, with variants for specifying different -- options to the RE compiler (see "Text.RE.REOptions"). -- $ed@@ -211,9 +211,9 @@ -- represents a @SearchReplace@ that will convert a YYYY-MM-DD format date -- into a DD\/MM\/YYYY format date. ----- The only difference betweem these quasi quoters is the RE options that are set,+-- The only difference between these quasi quoters is the RE options that are set, -- using the same conventions as the @[re| ... |]@ quasi quoters. -- $isregex--- The 'IsRegex' class is used to abstact over the different regex back ends and+-- The 'IsRegex' class is used to abstract over the different regex back ends and -- the text types they work with -- see "Text.RE.Tools.IsRegex" for details.
Text/RE/ZeInternals/PCRE.hs view
@@ -305,7 +305,7 @@ preludeSources :: String preludeSources = preludeMacroSources regexType --- | the prolude source of a given macro in the standard environment+-- | the prelude source of a given macro in the standard environment preludeSource :: PreludeMacro -> String preludeSource = preludeMacroSource regexType @@ -358,7 +358,7 @@ -- @countMatches $ s *=~ [re_|[0-9a-f]+|] MultilineInsensitive@ -- -- counts the number of hexadecimal digit strings in 's', allowing--- upper- or lower-case hex didgits.+-- upper- or lower-case hex digits. re_ :: QuasiQuoter re_ = re' Nothing
Text/RE/ZeInternals/SearchReplace/PCRE/ByteString.hs view
@@ -71,7 +71,7 @@ -- @s *=~/ [ed_|${hex}([0-9a-f]+)\/\/\/0x${hex}|] MultilineInsensitive@ -- -- prefixes the hexadecimal digit strings in s with @0x@, allowing for--- upper- or lower-case hex didgits (which is entirely equivalent+-- upper- or lower-case hex digits (which is entirely equivalent -- in this example to just using @[edMultilineInsensitive|[0-9a-f]+|]@). ed_ :: QuasiQuoter ed_ = ed' fn_cast Nothing
Text/RE/ZeInternals/SearchReplace/PCRE/ByteString/Lazy.hs view
@@ -71,7 +71,7 @@ -- @s *=~/ [ed_|${hex}([0-9a-f]+)\/\/\/0x${hex}|] MultilineInsensitive@ -- -- prefixes the hexadecimal digit strings in s with @0x@, allowing for--- upper- or lower-case hex didgits (which is entirely equivalent+-- upper- or lower-case hex digits (which is entirely equivalent -- in this example to just using @[edMultilineInsensitive|[0-9a-f]+|]@). ed_ :: QuasiQuoter ed_ = ed' fn_cast Nothing
Text/RE/ZeInternals/SearchReplace/PCRE/Sequence.hs view
@@ -71,7 +71,7 @@ -- @s *=~/ [ed_|${hex}([0-9a-f]+)\/\/\/0x${hex}|] MultilineInsensitive@ -- -- prefixes the hexadecimal digit strings in s with @0x@, allowing for--- upper- or lower-case hex didgits (which is entirely equivalent+-- upper- or lower-case hex digits (which is entirely equivalent -- in this example to just using @[edMultilineInsensitive|[0-9a-f]+|]@). ed_ :: QuasiQuoter ed_ = ed' fn_cast Nothing
Text/RE/ZeInternals/SearchReplace/PCRE/String.hs view
@@ -71,7 +71,7 @@ -- @s *=~/ [ed_|${hex}([0-9a-f]+)\/\/\/0x${hex}|] MultilineInsensitive@ -- -- prefixes the hexadecimal digit strings in s with @0x@, allowing for--- upper- or lower-case hex didgits (which is entirely equivalent+-- upper- or lower-case hex digits (which is entirely equivalent -- in this example to just using @[edMultilineInsensitive|[0-9a-f]+|]@). ed_ :: QuasiQuoter ed_ = ed' fn_cast Nothing
Text/RE/ZeInternals/SearchReplace/PCRE/Text.hs view
@@ -71,7 +71,7 @@ -- @s *=~/ [ed_|${hex}([0-9a-f]+)\/\/\/0x${hex}|] MultilineInsensitive@ -- -- prefixes the hexadecimal digit strings in s with @0x@, allowing for--- upper- or lower-case hex didgits (which is entirely equivalent+-- upper- or lower-case hex digits (which is entirely equivalent -- in this example to just using @[edMultilineInsensitive|[0-9a-f]+|]@). ed_ :: QuasiQuoter ed_ = ed' fn_cast Nothing
Text/RE/ZeInternals/SearchReplace/PCRE/Text/Lazy.hs view
@@ -71,7 +71,7 @@ -- @s *=~/ [ed_|${hex}([0-9a-f]+)\/\/\/0x${hex}|] MultilineInsensitive@ -- -- prefixes the hexadecimal digit strings in s with @0x@, allowing for--- upper- or lower-case hex didgits (which is entirely equivalent+-- upper- or lower-case hex digits (which is entirely equivalent -- in this example to just using @[edMultilineInsensitive|[0-9a-f]+|]@). ed_ :: QuasiQuoter ed_ = ed' fn_cast Nothing
Text/RE/ZeInternals/TDFA.hs view
@@ -310,7 +310,7 @@ preludeSources :: String preludeSources = preludeMacroSources regexType --- | the prolude source of a given macro in the standard environment+-- | the prelude source of a given macro in the standard environment preludeSource :: PreludeMacro -> String preludeSource = preludeMacroSource regexType @@ -363,7 +363,7 @@ -- @countMatches $ s *=~ [re_|[0-9a-f]+|] MultilineInsensitive@ -- -- counts the number of hexadecimal digit strings in 's', allowing--- for upper- or lower-case hex didgits (which is entirely equivalent+-- for upper- or lower-case hex digits (which is entirely equivalent -- in this example to just using @[reMultilineInsensitive|[0-9a-f]+|]@). re_ :: QuasiQuoter re_ = re' Nothing
changelog view
@@ -1,5 +1,8 @@ -*-change-log-*- +1.1.0.2 Igor Ranieri Elland 2022-05-20+* fix for [#171](https://github.com/iconnect/regex/issues/171)+ 1.1.0.1 Chris Dornan <chris.dornan@irisconnect.co.uk> 2018-12-19 * fix for base-4.16.0.0/GHC 9.2.1 * eliminate http-conduit dependency (currently stymied by cryptonite)
regex-with-pcre.cabal view
@@ -1,5 +1,5 @@ Name: regex-with-pcre-Version: 1.1.0.1+Version: 1.1.0.2 Synopsis: Toolkit for regex-base Description: A regular expression toolkit for regex-base with compile-time checking of RE syntax, data types for@@ -32,7 +32,7 @@ Source-Repository this Type: git Location: https://github.com/iconnect/regex.git- Tag: 1.1.0.1+ Tag: 1.1.0.2