text-icu 0.6.3.2 → 0.6.3.3
raw patch · 2 files changed
+3/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Data/Text/ICU/Regex/Pure.hs +2/−2
- text-icu.cabal +1/−1
Data/Text/ICU/Regex/Pure.hs view
@@ -130,7 +130,7 @@ find re0 haystack = unsafePerformIO . matching re0 haystack $ \re -> do m <- IO.findNext re- return $! if m then Nothing else Just (Match re 0)+ return $! if m then Just (Match re 0) else Nothing -- | Lazily find all matches for the regular expression in the given -- text.@@ -216,6 +216,6 @@ grouping n (Match m _) act = unsafePerformIO $ do count <- IO.groupCount m let n' = fromIntegral n- if n' == 0 || (n' >= 0 && n' < count)+ if n' == 0 || (n' >= 0 && n' <= count) then Just `fmap` act m else return Nothing
text-icu.cabal view
@@ -1,5 +1,5 @@ name: text-icu-version: 0.6.3.2+version: 0.6.3.3 synopsis: Bindings to the ICU library homepage: http://bitbucket.org/bos/text-icu bug-reports: http://bitbucket.org/bos/text-icu/issues