Use Test.Regex.PCRE instead of .Posix in compare
Use Test.Regex.PCRE instead of .Posix in compare

This program:

    main :: IO ()
    main = do re "[^ ]" "\207"
              re "[ ]" "\207"
              re " " "\207"

    re :: String -> String -> IO ()
    re r str = let r' = makeRegex r :: Regex
                   res = matchM r' str :: Maybe (String, String, String, [String])
               in print res

prints

    Nothing
    Nothing
    Nothing

for me with Posix, but

    Just ("","\207","",[])
    Nothing
    Nothing

with PCRE. This was causing compare to fail with

    Tar line doesn't parse: "drwxrwxr-x simonmar/GHC       0 2012-12-08 21:35 ghc-7.6.1.20121207/libraries/haskeline/tests/dummy-\206\188\206\177\207\\302\\203/"

on the GHC source tarball.

snoyberg/ghc,tibbe/ghc,bitemyapp/ghc,gcampax/ghc,siddhanathan/ghc,snoyberg/ghc,fmthoma/ghc,fmthoma/ghc,mettekou/ghc,oldmanmike/ghc,hferreiro/replay,AlexanderPankiv/ghc,lukexi/ghc,nathyong/microghc-ghc,nushio3/ghc,bitemyapp/ghc,ml9951/ghc,nkaretnikov/ghc,nathyong/microghc-ghc,nkaretnikov/ghc,da-x/ghc,fmthoma/ghc,frantisekfarka/ghc-dsi,christiaanb/ghc,nushio3/ghc,anton-dessiatov/ghc,ghc-android/ghc,urbanslug/ghc,frantisekfarka/ghc-dsi,sdiehl/ghc,nathyong/microghc-ghc,anton-dessiatov/ghc,holzensp/ghc,spacekitteh/smcghc,gcampax/ghc,anton-dessiatov/ghc,ml9951/ghc,tibbe/ghc,lukexi/ghc,sgillespie/ghc,gridaphobe/ghc,ghc-android/ghc,ml9951/ghc,anton-dessiatov/ghc,lukexi/ghc-7.8-arm64,sdiehl/ghc,tjakway/ghcjvm,elieux/ghc,GaloisInc/halvm-ghc,hferreiro/replay,vikraman/ghc,mettekou/ghc,da-x/ghc,TomMD/ghc,spacekitteh/smcghc,acowley/ghc,wxwxwwxxx/ghc,frantisekfarka/ghc-dsi,nathyong/microghc-ghc,ryantm/ghc,anton-dessiatov/ghc,ekmett/ghc,ezyang/ghc,christiaanb/ghc,elieux/ghc,jstolarek/ghc,vikraman/ghc,TomMD/ghc,GaloisInc/halvm-ghc,mcschroeder/ghc,shlevy/ghc,wxwxwwxxx/ghc,lukexi/ghc-7.8-arm64,tibbe/ghc,frantisekfarka/ghc-dsi,gcampax/ghc,green-haskell/ghc,tjakway/ghcjvm,jstolarek/ghc,sgillespie/ghc,olsner/ghc,spacekitteh/smcghc,shlevy/ghc,nkaretnikov/ghc,ekmett/ghc,GaloisInc/halvm-ghc,elieux/ghc,olsner/ghc,vikraman/ghc,urbanslug/ghc,shlevy/ghc,TomMD/ghc,shlevy/ghc,ml9951/ghc,nkaretnikov/ghc,elieux/ghc,hferreiro/replay,urbanslug/ghc,tjakway/ghcjvm,acowley/ghc,sgillespie/ghc,vTurbine/ghc,sgillespie/ghc,wxwxwwxxx/ghc,mcschroeder/ghc,hferreiro/replay,gridaphobe/ghc,ezyang/ghc,forked-upstream-packages-for-ghcjs/ghc,green-haskell/ghc,gcampax/ghc,bitemyapp/ghc,mfine/ghc,lukexi/ghc,green-haskell/ghc,nkaretnikov/ghc,siddhanathan/ghc,nathyong/microghc-ghc,frantisekfarka/ghc-dsi,wxwxwwxxx/ghc,oldmanmike/ghc,mfine/ghc,vikraman/ghc,olsner/ghc,TomMD/ghc,ekmett/ghc,tibbe/ghc,mcschroeder/ghc,GaloisInc/halvm-ghc,forked-upstream-packages-for-ghcjs/ghc,spacekitteh/smcghc,lukexi/ghc-7.8-arm64,jstolarek/ghc,vTurbine/ghc,lukexi/ghc,acowley/ghc,da-x/ghc,holzensp/ghc,sdiehl/ghc,hferreiro/replay,siddhanathan/ghc,TomMD/ghc,ekmett/ghc,ezyang/ghc,mettekou/ghc,shlevy/ghc,ml9951/ghc,lukexi/ghc-7.8-arm64,hferreiro/replay,green-haskell/ghc,gridaphobe/ghc,wxwxwwxxx/ghc,ml9951/ghc,nushio3/ghc,ekmett/ghc,mcschroeder/ghc,jstolarek/ghc,forked-upstream-packages-for-ghcjs/ghc,siddhanathan/ghc,snoyberg/ghc,AlexanderPankiv/ghc,sgillespie/ghc,mettekou/ghc,vikraman/ghc,nushio3/ghc,da-x/ghc,bitemyapp/ghc,christiaanb/ghc,christiaanb/ghc,gridaphobe/ghc,mfine/ghc,oldmanmike/ghc,ryantm/ghc,tjakway/ghcjvm,AlexanderPankiv/ghc,da-x/ghc,siddhanathan/ghc,ghc-android/ghc,forked-upstream-packages-for-ghcjs/ghc,gridaphobe/ghc,urbanslug/ghc,anton-dessiatov/ghc,siddhanathan/ghc,ezyang/ghc,anton-dessiatov/ghc,acowley/ghc,sdiehl/ghc,nathyong/microghc-ghc,ghc-android/ghc,gcampax/ghc,urbanslug/ghc,acowley/ghc,snoyberg/ghc,fmthoma/ghc,lukexi/ghc,ghc-android/ghc,vTurbine/ghc,olsner/ghc,holzensp/ghc,fmthoma/ghc,TomMD/ghc,sdiehl/ghc,fmthoma/ghc,AlexanderPankiv/ghc,tibbe/ghc,AlexanderPankiv/ghc,vikraman/ghc,mcschroeder/ghc,christiaanb/ghc,wxwxwwxxx/ghc,green-haskell/ghc,forked-upstream-packages-for-ghcjs/ghc,vTurbine/ghc,mettekou/ghc,siddhanathan/ghc,GaloisInc/halvm-ghc,sdiehl/ghc,ryantm/ghc,holzensp/ghc,acowley/ghc,bitemyapp/ghc,vikraman/ghc,gridaphobe/ghc,gcampax/ghc,ml9951/ghc,forked-upstream-packages-for-ghcjs/ghc,spacekitteh/smcghc,mettekou/ghc,nushio3/ghc,oldmanmike/ghc,mcschroeder/ghc,shlevy/ghc,ryantm/ghc,mfine/ghc,sdiehl/ghc,ezyang/ghc,nushio3/ghc,elieux/ghc,GaloisInc/halvm-ghc,oldmanmike/ghc,nathyong/microghc-ghc,olsner/ghc,nkaretnikov/ghc,elieux/ghc,mcschroeder/ghc,christiaanb/ghc,tjakway/ghcjvm,vTurbine/ghc,vTurbine/ghc,sgillespie/ghc,ghc-android/ghc,snoyberg/ghc,christiaanb/ghc,gcampax/ghc,mettekou/ghc,tjakway/ghcjvm,da-x/ghc,AlexanderPankiv/ghc,wxwxwwxxx/ghc,acowley/ghc,olsner/ghc,nushio3/ghc,ezyang/ghc,tjakway/ghcjvm,mfine/ghc,GaloisInc/halvm-ghc,urbanslug/ghc,snoyberg/ghc,TomMD/ghc,gridaphobe/ghc,shlevy/ghc,jstolarek/ghc,oldmanmike/ghc,ezyang/ghc,ghc-android/ghc,oldmanmike/ghc,ml9951/ghc,nkaretnikov/ghc,vTurbine/ghc,olsner/ghc,elieux/ghc,sgillespie/ghc,mfine/ghc,hferreiro/replay,lukexi/ghc-7.8-arm64,snoyberg/ghc,holzensp/ghc,urbanslug/ghc,mfine/ghc,AlexanderPankiv/ghc,ryantm/ghc,forked-upstream-packages-for-ghcjs/ghc,da-x/ghc,fmthoma/ghc