move haskell outline regex to top level var