Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-regex-tdfa for openSUSE:Factory checked in at 2023-06-22 23:25:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-regex-tdfa (Old) and /work/SRC/openSUSE:Factory/.ghc-regex-tdfa.new.15902 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-regex-tdfa" Thu Jun 22 23:25:33 2023 rev:24 rq:1094446 version:1.3.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-regex-tdfa/ghc-regex-tdfa.changes 2023-04-04 21:22:57.470059121 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-regex-tdfa.new.15902/ghc-regex-tdfa.changes 2023-06-22 23:26:00.749826709 +0200 @@ -1,0 +2,9 @@ +Fri May 19 17:16:44 UTC 2023 - Peter Simons <psim...@suse.com> + +- Update regex-tdfa to version 1.3.2.1. + Upstream has edited the change log file since the last release in + a non-trivial way, i.e. they did more than just add a new entry + at the top. You can review the file at: + http://hackage.haskell.org/package/regex-tdfa-1.3.2.1/src/CHANGELOG.md + +------------------------------------------------------------------- Old: ---- regex-tdfa-1.3.2.tar.gz New: ---- regex-tdfa-1.3.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-regex-tdfa.spec ++++++ --- /var/tmp/diff_new_pack.gjWXUe/_old 2023-06-22 23:26:01.661831360 +0200 +++ /var/tmp/diff_new_pack.gjWXUe/_new 2023-06-22 23:26:01.665831381 +0200 @@ -20,7 +20,7 @@ %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.3.2 +Version: 1.3.2.1 Release: 0 Summary: Pure Haskell Tagged DFA Backend for "Text.Regex" (regex-base) License: BSD-3-Clause ++++++ regex-tdfa-1.3.2.tar.gz -> regex-tdfa-1.3.2.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/regex-tdfa-1.3.2/CHANGELOG.md new/regex-tdfa-1.3.2.1/CHANGELOG.md --- old/regex-tdfa-1.3.2/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200 +++ new/regex-tdfa-1.3.2.1/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200 @@ -1,6 +1,14 @@ For the package version policy (PVP), see http://pvp.haskell.org/faq . -### 1.3.2 +### 1.3.2.1 + +_2023-05-19, Andreas Abel_ + +- Fix haddock rendering of code examples in top-level documentation + ([#50](https://github.com/haskell-hvr/regex-tdfa/issues/50)) +- Tested with GHC 7.4 - 9.6 + +## 1.3.2 _2022-07-18, Andreas Abel_ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/regex-tdfa-1.3.2/lib/Text/Regex/TDFA.hs new/regex-tdfa-1.3.2.1/lib/Text/Regex/TDFA.hs --- old/regex-tdfa-1.3.2/lib/Text/Regex/TDFA.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/regex-tdfa-1.3.2.1/lib/Text/Regex/TDFA.hs 2001-09-09 03:46:40.000000000 +0200 @@ -31,7 +31,6 @@ = Basics -@ >>> let emailRegex = "[a-zA-Z0-9+._-]+\\@[-a-zA-Z]+\\.[a-z]+" >>> "my email is first-name.lastname_1...@e-mail.com" =~ emailRegex :: Bool True @@ -45,6 +44,7 @@ >>> "#@invalid.com" =~ emailRegex :: Bool False +@ /-- non-monadic/ λ> \<to-match-against\> '=~' \<regex\> @@ -69,6 +69,7 @@ @ /-- returns empty string if no match/ a '=~' b :: String /-- or ByteString, or Text.../ +@ >>> "alexis-de-tocqueville" =~ "[a-z]+" :: String "alexis" @@ -76,24 +77,22 @@ >>> "alexis-de-tocqueville" =~ "[0-9]+" :: String "" -@ - == Check if it matched at all @ a '=~' b :: Bool +@ >>> "alexis-de-tocqueville" =~ "[a-z]+" :: Bool True -@ - == Get first match + text before/after @ /-- if no match, will just return whole/ /-- string in the first element of the tuple/ a =~ b :: (String, String, String) +@ >>> "alexis-de-tocqueville" =~ "de" :: (String, String, String) ("alexis-","de","-tocqueville") @@ -101,25 +100,23 @@ >>> "alexis-de-tocqueville" =~ "kant" :: (String, String, String) ("alexis-de-tocqueville","","") -@ - == Get first match + submatches @ /-- same as above, but also returns a list of just submatches./ /-- submatch list is empty if regex doesn't match at all/ a '=~' b :: (String, String, String, [String]) +@ >>> "div[attr=1234]" =~ "div\\[([a-z]+)=([^]]+)\\]" :: (String, String, >>> String, [String]) ("","div[attr=1234]","",["attr","1234"]) -@ - == Get /all/ matches @ /-- can also return Data.Array instead of List/ 'getAllTextMatches' (a '=~' b) :: [String] +@ >>> getAllTextMatches ("john anne yifan" =~ "[a-z]+") :: [String] ["john","anne","yifan"] @@ -127,8 +124,6 @@ >>> getAllTextMatches ("* - . a + z" =~ "[--z]+") :: [String] ["-",".","a","z"] -@ - = Feature support This package does provide captured parenthesized subexpressions. @@ -160,11 +155,9 @@ ASCII only, valid classes are alnum, digit, punct, alpha, graph, space, blank, lower, upper, cntrl, print, xdigit, word. -@ >>> getAllTextMatches ("john anne yifan" =~ "[[:lower:]]+") :: [String] ["john","anne","yifan"] -@ This package does not provide "basic" regular expressions. This package does not provide back references inside regular expressions. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/regex-tdfa-1.3.2/regex-tdfa.cabal new/regex-tdfa-1.3.2.1/regex-tdfa.cabal --- old/regex-tdfa-1.3.2/regex-tdfa.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/regex-tdfa-1.3.2.1/regex-tdfa.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,6 +1,6 @@ cabal-version: 1.12 name: regex-tdfa -version: 1.3.2 +version: 1.3.2.1 build-Type: Simple license: BSD3 @@ -25,8 +25,9 @@ test/cases/*.txt tested-with: - GHC == 9.4.1 - GHC == 9.2.3 + GHC == 9.6.1 + GHC == 9.4.5 + GHC == 9.2.7 GHC == 9.0.2 GHC == 8.10.7 GHC == 8.8.4 @@ -46,7 +47,7 @@ source-repository this type: git location: https://github.com/haskell-hvr/regex-tdfa.git - tag: v1.3.2 + tag: v1.3.2.1 flag force-O2 default: False