in reply to Structured headers of RFC 2822

Use regular expressions.
amt