Fix broken regexes