Fix up regexes.