Unicode Support version of Text.Regex, using regex-tdfa
#2Build failure with ghc 9.0
Failed to build regex-compat-tdfa-0.95.1.4.
Build log (
/github/home/.cabal/logs/ghc-9.0.1/regex-compat-tdfa-0.95.1.4-783c8cdbbf062927e342a1cd91a73b6824665cbab6ff79655f446a074ba4ee9b.log
):
Warning: regex-compat-tdfa.cabal:38:39: version operators used. To use version
operators the package needs to specify at least 'cabal-version: >= 1.8'.
Configuring regex-compat-tdfa-0.95.1.4...
Preprocessing library for regex-compat-tdfa-0.95.1.4..
Building library for regex-compat-tdfa-0.95.1.4..
[1 of 1] Compiling Text.Regex ( Text/Regex.hs, dist/build/Text/Regex.o, dist/build/Text/Regex.dyn_o )
Text/Regex.hs:142:22: error:
Bang pattern in expression context: !0
Did you mean to add a space after the '!'?
|
142 | let matches = map (!0) (matchAll delim strIn)
| ^^
cabal: Failed to build regex-compat-tdfa-0.95.1.4 (which is required by
cabal-testsuite-3). See the build log above for details.
!!!
I've uploaded a patch for this here: https://hub.darcs.net/shelarcy/regex-compat-tdfa/issue/3
- description updated