Remove unneeded | in character classes