# having dealt with edge cases check for the valid chars return 0 unless m/^[A-Za-z0-9\.\-]+\z/;