Added makeRegexTask to Regex.hs