Use more permissive regex for haskell command