Fix typo with validator regex.