Fixed registration regex.