use rx for checkers
haskell error regex matches over multiple lines