Fixed bad regexes.