reformat all regexes