typelead / eta-hackage

A set of patches to make Hackage compatible with the Eta language.
64 stars 31 forks source link

"regex-compat" package behavior is inconsistent with GHCi #152

Open HoshinoTented opened 4 years ago

HoshinoTented commented 4 years ago

In Eta, this code matchRegexAll (mkRegex "[0-9]+") "123" returns Just ("","123","",[]). But in GHCi, the same code returns Just ("","123","",["123"]). I was using regex-compat with version "0.95.1".