Unified handling of single/multi-char delimiters without performance hit