Fix re.compile issue again after merge.