Make fake regex valid.