rewrite character class -> now works properly in the dual-space case