Fix regexps.