[Haskell-cafe] regex-applicative library needs your help! (algorithmic challenge)