On Wednesday 14 July 2010 22:41:00, prad wrote: > also, python had a re.sub so you can replace things using regex > searchs. how would you go about doing that in haskell? There's subRegex in Text.Regex in the regex-compat package (don't know if it's also provided in other packages).