find headers with regex in config parameter (fix #38)