Fix validate regex, worked by magic before.