Improved single-character sub/sup parsing