removed * and ~ from the list of characters