http://qs1969.pair.com?node_id=60232


in reply to quoted-printable, and ugly code

Lots of items already covered here. But I felt compelled to note that s/^\w+:(.*)$/$1/gs nearly makes me cringe (which is silly because it really isn't "bad" at all). First, s/^\w+://gs gets the point across much better, I think. Second, can't headers have "-" in them so don't you want [-\w]+? Third, I'd strip whitespace after the ":". So:

s/^[-\w]+:\s*//gs

        - tye (but my friends call me "Tye")