Fix special char regex

It didn't match if the special char was the first one in the
password.