character verification rules