hash characters check