http://qs321.pair.com?node_id=1227323


in reply to Re^6: Read CSV with column mapping
in thread Read CSV with column mapping

/^\s+$/ requires at least one blank character. /^\s*$/ would fail empty lines too.